تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Retrieving selected item text, value and index of an asp.net dropdownlist Part 21 ضمن كورس ASP.net شرح قناة kudvenkat، الفديو رقم 21 مجانى معتمد اونلاين
C#, SQL Server, WCF, MVC and ASP .NET video tutorials for beginners
http://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.
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation1
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.