WebGrid.SortColumn Property

Gets or sets the name of the data column that the WebGrid instance is sorted by.

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

Syntax

'Declaration
Public Property SortColumn As String 
    Get 
    Set
'Usage
Dim instance As WebGrid 
Dim value As String 

value = instance.SortColumn

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

Property Value

Type: System.String
The name of the data column that is used to sort the grid.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace