WebGrid.GetPageUrl Method

Returns a URL that can be used to display the specified data page of the WebGrid instance.

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

Syntax

'Declaration
Public Function GetPageUrl ( _
    pageIndex As Integer _
) As String
'Usage
Dim instance As WebGrid 
Dim pageIndex As Integer 
Dim returnValue As String 

returnValue = instance.GetPageUrl(pageIndex)
public string GetPageUrl(
    int pageIndex
)
public:
String^ GetPageUrl(
    int pageIndex
)
member GetPageUrl : 
        pageIndex:int -> string
public function GetPageUrl(
    pageIndex : int
) : String

Parameters

Return Value

Type: System.String
A URL that can be used to display the specified data page of the grid.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace