Gets the C1BaseField derived column object from the name specified.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public C1BaseField ColumnByName(
	string name
)
Visual Basic
Public Function ColumnByName ( _
	name As String _
) As C1BaseField

Parameters

name
Type: System..::..String
Name of the column to search.

Return Value

The C1BaseField derived column object with specified name.

Remarks

A column is searched for in the tree of columns belonging to the collection.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThrown when a column with the specified name can not be found.

See Also