WebGridColumn.ColumnName Property

Gets or sets the name of the data item that is associated with the WebGrid column.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public Property ColumnName As String 
    Get 
    Set
'Usage
Dim instance As WebGridColumn 
Dim value As String 

value = instance.ColumnName

instance.ColumnName = value
public string ColumnName { get; set; }
public:
property String^ ColumnName {
    String^ get ();
    void set (String^ value);
}
member ColumnName : string with get, set
function get ColumnName () : String 
function set ColumnName (value : String)

Property Value

Type: System.String
The name of the data item.

Remarks

If the Header property is empty or null reference (Nothing in Visual Basic), this property returns the value of the ColumnName property.

See Also

Reference

WebGridColumn Class

System.Web.Helpers Namespace