Originally posted by Andrew Grandin
Hi All, this question relates to an slx development im dong but is more a general coding question.....
I have two listboxes A and B, i populate listbox A with sql that retrieves user names and their related ID's from the USERINFO table. I set A's datatextfield as username for the display property and have the ID as the hidden datavaluefield.
I am able to move usernames back and forth from listbox A to listbox B with no problems but im not sure how to get the users ID (datavaluefield) to move between listboxes with their name and have the ID remain hidden.
What i want is to allow users to move names back and forth as much as they like, then once they are finished they will click OK and i will grab the ID's of the names they have moved into listbox B for use later.
Any ideas?
|