DataControlField.ToString Method

Definition

Returns a string that represents this DataControlField object.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string that represents this DataControlField.

Remarks

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").

Applies to

See also