DataPagerField.QueryStringValue 属性

定义

从请求的 URL 获取查询字符串字段的值。

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

属性值

String

查询字符串字段的值。

注解

DataPager.QueryStringField当属性不是空字符串或nullDataPager控件使用 HTTP GET 命令浏览页面时。 将包含名称/值对的查询字符串字段添加到页面的 URL。 该 QueryStringValue 属性从请求的 URL 检索查询字符串字段的值。 该 QueryStringValue 属性包含请求的页码。

此属性由 NumericPagerField 页和 NextPreviousPagerField 寻呼字段用于评估请求的数据页的第一条记录的索引。 然后更新控件的 DataPager 页属性。

适用于

另请参阅