Export (0) Print
Expand All

DataControlField.ToString Method

Returns a string that represents this DataControlField object.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override string ToString()

Return Value

Type: System.String
A string that represents this DataControlField.

This method is implemented to return the value of the HeaderText property, if the property is set. Otherwise, this method simply returns a string that represents the type of the data control field (for example, "BoundField").

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft