Retrieving selected item text, value and index of an dropdownlist Part 21

  • دعنا نشارك هذا :
ترتيب الدرس : 21
المدة : 00:12:14
التحكم :
C#, SQL Server, WCF, MVC and ASP .NET video tutorials for beginners

In this video we will discuss about retrieving the selected item text, index and value from an 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.

To retrieve
Selected Item Text: DropDownList1.SelectedItem.Text
Selected Item Value: DropDownList1.SelectedItem.Value
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.

سيتم تفعيل التعليقات قريبا

Sep 23, 2020 07:32:23