Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by yonelay

  1. yonelay

    Getting lastname from fullname

    Hi, This may be a silly question, but how can I get lastname out from lastname, firstname format? I got firstname with LastIndexOf(",")+1.
  2. yonelay

    Passing value across methods

    namespace Sample1 { public partial class MainForm : Form { private int field1; public MainForm() { InitializeComponent(); field1 = 2; } private void button1_Click(object sender, EventArgs e) { if (field1 == 2) { do something here; } else do other; } How can I get the...
  3. yonelay

    Inserting items from checklistbox to database

    Hi, I have a checklistbox called from a table with permissions as value and a "Save" button. I am able to display the permissionlevel as checklistbox. For example, Read Write Execute Full Control (Save) button I have another table which associates with userid and permissionlevel. If a...
  4. yonelay

    Select All/Deselect All Checklistbox

    EmployeeNameList is a list of checkboxes. chkSelectAll selects all the EmployeeNameList checkboxes. chkDeselectAll deselects all the EmployeeNameList checkboxes.
  5. yonelay

    Select All/Deselect All Checklistbox

    I am having two problems with my checklistbox select items. 1. When I check individual box, I have to click twice to get it checked. 2. Altough all the checkboxes are checked after I click "select all", I get the values of the first and second selected items. After that I get every other value...
  6. yonelay

    Getting value from stored procedure

    Thanks for the answers. Here is the respond I got from other post. Rows[dropdownname.SelectedIndex]["firstname"]
  7. yonelay

    Displaying multipage tiff file in ReportViewer

    Hi, I converted my tiff file to gif in each frame so that I can view tiff image in the reportviewer. I am able to display the image, but it only shows one frame. If there are multiple frames in tiff file, it shows the last one. How can I modify my code so that all the frames displayed...
  8. yonelay

    Getting value from stored procedure

    I have a sp that has firstname, lastname, fullname, and personid columns. In my C#, I have a drop down which displaymember is fullname and valuemember is personid. So far so good, I got those values. Now, I want firstname and lastname of the selected person from the dropdown. How do I do that...

Part and Inventory Search

Back
Top