|
-
March 8th, 2003, 12:38 AM
#1
DropDownList Problem
I am experiencing a problem with a dropdownlist box.
The list box has been bound to a dataset to call its information from a database.
It presents all the information in the dropdown from the selected table.
When I click the button that I have created I run the code:
Dim strCatagory As String = ddlCatOption.SelectedItem.Value
lblTest.Text = strCatagory
Now the problem,
Whenever I run this it present the first item in the drop down list to me as the strCatagory, irrespective if I selected the 2nd, third or foutth item in the list.
I hope you can help.
Thanks
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
|