|
-
Sep 19th, 2008, 12:18 PM
#1
Thread Starter
Junior Member
How to get datatextfield value from dropdownlist box
I have a dropdown list box on te form, it is filed with data. Now user is not making a selection from dropdown, instead want to get teh text field value from it, by using its value field information;
I want to get the datatextfield value of a dropdownlist box for ID# 7.
Thank you very much for the info.
-
Sep 19th, 2008, 04:56 PM
#2
Fanatic Member
Re: How to get datatextfield value from dropdownlist box
i'm not sure that i understod your question but, if i did then you can get the 7th item text value like following:
Dim myString As String = Me.DropDownList1.Items(6).Text
HTH
Regards
-
Sep 22nd, 2008, 07:42 AM
#3
Re: How to get datatextfield value from dropdownlist box
Explain your question again... do you want to do this server side or client side?
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
|