使用datagrid进行智能分页 [英] smart paging with datagrid

查看:109
本文介绍了使用datagrid进行智能分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何配置我的datagrid以使用分页,这样它就不会从数据库中拉出所有的行,而只是当前页面的行。



BTW,我应该使用datagrid还是还有更新的控件?

解决方案

正如Josh所说,有不同的方法检查这个问题/答案有一个变体: ASP.NET DataGrid和自定义分页


How do I configure my datagrid to use paging such that it won't pull ALL the rows from the database, but rather only the rows for the current page.

BTW, should I be using a datagrid still or is there a newer control?

解决方案

As Josh mentioned, there are different ways to do it.

Check this question/answer for one variation: ASP.NET DataGrid and custom paging

这篇关于使用datagrid进行智能分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆