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)

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.

See also

Reference

SPBoundField class

SPBoundField members

Microsoft.SharePoint.WebControls namespace