【发布时间】:2018-06-15 04:32:38
【问题描述】:
我有一个启用分页的网格视图。此外,我在 gridview 之外有几个按钮单击事件,现在我想在每次处理事件之前捕获页面索引。
代码:
protected void btnRecords_Click(object sender, EventArgs e)
{
//capture current pageindex of gridview
//then proceed with event flow
}
【问题讨论】:
标签: c# asp.net c#-4.0 gridview