DataPagerField.GetQueryStringNavigateUrl(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a URL that contains a query string field that has the specified page number.
protected:
System::String ^ GetQueryStringNavigateUrl(int pageNumber);
protected string GetQueryStringNavigateUrl (int pageNumber);
member this.GetQueryStringNavigateUrl : int -> string
Protected Function GetQueryStringNavigateUrl (pageNumber As Integer) As String
Parameters
- pageNumber
- Int32
The target page number.
Returns
The target URL.
Remarks
The GetQueryStringNavigateUrl method is used by the NumericPagerField and NextPreviousPagerField pager fields to create the target URL for each button of the pager field. The target URL includes a query string field that contains a name/value pair. The name is the value of the DataPager.QueryStringField property, and the value represents the value of pageNumber
.