当前位置:神舟问>生活百科>我想问一下gridview怎么分页?

我想问一下gridview怎么分页?

2023-07-13 23:53:51 编辑:join 浏览量:541

我想问一下gridview怎么分页?

方法一 SELECT DISTINCT TOP 8 CategoryID FROM tbl_Product_Products WHERE (UserID = 73) AND (CategoryID > (SELECT MAX(categoryid) FROM (SELECT DISTINCT TOP 16 categoryid FROM tbl_product_products where userid=73 ORDER BY cate...

gridview有自带的分页功能哈 用这个事件就可以哈 protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { GridView1.PageIndex = e.NewPageIndex; Bind(Bid); //gridview绑定数据 }

标签:gridview,分页

版权声明:文章由 神舟问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.shenzhouwen.com/life/127185.html
热门文章