[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

How to use drop down list text value?

Hi,
I have a ddl and i used the value as:

           Dim term As String
            term = addddl.SelectedIndex.ToString

I want to get the text value of the selected item of the ddd

Is my above code ok???

_Esam
0
_Esam
Asked:
_Esam
1 Solution
 
raterusCommented:
try this:

addddl.SelectedItem.Text
0
 
_EsamAuthor Commented:
OK...it worked...
Thax

_Esam
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now