Easy Tutorial
❮ Prop Webcontrol Standard Tabindex Prop Webcontrol Listitem Selected ❯

ASP.NET DataValueField Property



Definition and Usage

The DataValueField property specifies the data source field to bind to the Value property of each item in the control.


Example

The following example uses an XML file to populate the data for a RadioButtonList:

The XML file used in this example is countries.xml

❮ Prop Webcontrol Standard Tabindex Prop Webcontrol Listitem Selected ❯