WebGrid.GetSortUrl Method

Returns a URL that can be used to sort the WebGrid instance by the specified column.

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

Syntax

'Declaration
Public Function GetSortUrl ( _
    column As String _
) As String
'Usage
Dim instance As WebGrid 
Dim column As String 
Dim returnValue As String 

returnValue = instance.GetSortUrl(column)
public string GetSortUrl(
    string column
)
public:
String^ GetSortUrl(
    String^ column
)
member GetSortUrl : 
        column:string -> string
public function GetSortUrl(
    column : String
) : String

Parameters

  • column
    Type: System.String
    The name of the data column to sort by.

Return Value

Type: System.String
A URL that can be used to sort the grid.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace