Specifies the field name or property name of the source data item.
[Visual Basic]
Public Property DataField As
String
[C#]
public
String DataField {get; set;}
Remarks
Specifies the field name or property name of the source data item. The value of the source data item will assign to the corresponding property specified by Property.
When the data source is a DataSet, DataTable, DataView or any objects that implements IDataReader, DataField specifies the data field name, otherwise DataField is interpreted as property name.
Here's a list of frequently used properties when defining a DataBinding:
- Use Property to specify the target property of a navigation item to be assigned;
- Use DataField to specify what value from the database to assign to the target property;
- Use Depth to specify which level of the item the above Property and DataField mapping applies.
See populating from DataSet for examples.
See Also
DataBinding Class | EO.Web Namespace