116,588 views 228 on YTPak
217 4

Published on 08 Nov 2012 | over 5 years ago

C#, SQL Server, WCF, MVC and ASP .NET video tutorials for beginners
www.youtube.com/user/kudvenkat/playlists

In this video we will discuss about retrieving the selected item text, index and value from an asp.net dropdownlist.

To retrieve
Selected Item Text: DropDownList1.SelectedItem.Text
Selected Item Value: DropDownList1.SelectedItem.Value
OR
Selected Item Value: DropDownList1.SelectedValue
Selected Item Index: DropDownList1.SelectedIndex

The SelectedIndex and SelectedValue properties of the DropDownList can also be used to have a list item selected in the DropDownList.
Customize Your Hybrid Embed Video Player!

6-digit hexadecimal color code without # symbol.

 

Report video function is under development.

 


Loading related videos...