This would work absolutely fine, but you did not get my problem I am displaying some value in the listbox and actually require some different value, say for e.g. i am showing names in the box whereas if the user selects a name i am retriving the corresponding employee ID for that name. Now this scenario is possible through ValueMember and DisplayMember property of ListBox. DisplayMember = name ValueMember = empId Now the code which you gave me works fine if i need to retrive the DisplayMembers from listbox.. My question though,here was i needed the ValueMembers to corresponding selection Thanks a lot -- modified at 6:14 Thursday 11th May, 2006