SPBoundField.DataField Property
Gets or sets the name of the Microsoft SharePoint Server 2010 field with which to bind.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property DataField As String
Get
Set
'Usage
Dim instance As SPBoundField
Dim value As String
value = instance.DataField
instance.DataField = value
public string DataField { get; set; }
Property Value
Type: System.String
A string value specifying the name of the field to which to bind.