How to get Dropdown list Selected Item Text?

 Posted by vishalneeraj-24503 on 1/14/2014 | Category: VB.NET Interview questions | Views: 961 | Points: 40
Answer:

We can get Dropdown list SelectedText in 2 ways:-

There is a Dropdown list SelectedItem property by which we can get Dropdown list selected item text.

For Example:-

Dim text1 As String = DropDownList1.SelectedItem.Text

Dim text2 As String = DropDownList1.Text


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response