SPDataSource.UseInternalName property

Gets or sets a Boolean value that indicates whether fields are referenced by internal names.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool UseInternalName { get; set; }

Property value

Type: System.Boolean
true to use internal names for fields (that is, the values of the SPField.InternalName property); otherwise, false. The default is false.

The default is to use display names. To use internal names, set the UseInternalName property to true.

Show: