|
-
Nov 20th, 2002, 09:21 AM
#1
Thread Starter
Hyperactive Member
listbox
I have two listboxes and a button on my web form. Select from the 2rd list box to add the selected item to 1st listbox. and hit button to add the items in the 1st listbox to the database.
the 1st list box is bound to a dataset, and its DataValueFiled is set to table's ID column. How can I get the item IDs, which are in the 1st listbox?
I used lst.DataValueField, it returned the column name, not its value.
Then I tried lst.items(i).value, did the same thing.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|