DataPagerField.GetQueryStringNavigateUrl(Int32) Método
Definição
Cria uma URL que contém um campo de cadeia de consulta que tem o número de página especificado.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
Parâmetros
- pageNumber
- Int32
O número da página de destino.The target page number.
Retornos
A URL de destino.The target URL.
Comentários
O GetQueryStringNavigateUrl método é usado pelos NumericPagerField campos de NextPreviousPagerField pager e para criar a URL de destino para cada botão do campo de pager.The GetQueryStringNavigateUrl method is used by the NumericPagerField and NextPreviousPagerField pager fields to create the target URL for each button of the pager field. A URL de destino inclui um campo de cadeia de caracteres de consulta que contém um par de nome/valor.The target URL includes a query string field that contains a name/value pair. O nome é o valor da DataPager.QueryStringField propriedade e o valor representa o valor de pageNumber .The name is the value of the DataPager.QueryStringField property, and the value represents the value of pageNumber.