DataControlField::ToString Method ()

 

Returns a string that represents this DataControlField object.

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

public:
virtual String^ ToString() override

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
Available since 2.0
Return to top
Show: