Επεξεργασία

Κοινή χρήση μέσω


DataPagerField.QueryStringValue Property

Definition

Gets the value of the query string field from the URL of the request.

protected:
 property System::String ^ QueryStringValue { System::String ^ get(); };
protected string QueryStringValue { get; }
member this.QueryStringValue : string
Protected ReadOnly Property QueryStringValue As String

Property Value

The value of the query string field.

Remarks

When the DataPager.QueryStringField property is not an empty string or null, the DataPager control uses the HTTP GET command to navigate through the pages. A query string field that consists of a name/value pair is added to the URL of the page. The QueryStringValue property retrieves the value of the query string field from the URL of the request. The QueryStringValue property contains the requested page number.

This property is used by the NumericPagerField and NextPreviousPagerField pager fields to evaluate the index of the first record for the page of data requested. The page properties of the DataPager control are then updated.

Applies to

See also