Easy Tutorial
❮ Aspnet Datalist Control Htmlselect ❯

ASP.NET DataTextField Property



Definition and Usage

The DataTextField property specifies the data source field to bind to the Text 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 the example is countries.xml

❮ Aspnet Datalist Control Htmlselect ❯