网格视图集选项 [英] Grid view set option

查看:72
本文介绍了网格视图集选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一份gridview报告.现在,我想设置限制以查看页面上的报告.例如,我只想查看每个报告10条记录,而我选择了每页10条记录选项.

I have one gridview report. now i want to set the limit to view the report on the page. For example i want to view only ten records per report and i had select 10 records per page option.

推荐答案

每页设置10条记录.如果从控件中删除一个寻呼机,则报表中将仅获得10条记录.另一个选择是将数据源修改为仅具有要显示的记录数,因此当您绑定到数据源时,网格就可以正常工作.
There is a 10 records per page setting. If you remove a pager from the control, you will then only get 10 records in your report. The other option is to modify your data source to have only the number of records you want to show, so when you bind to it, the grid just does it''s work.


检查此链接

http://msdn.microsoft.com/en-us/library/bb404876.aspx [ ^ ]
check this link

http://msdn.microsoft.com/en-us/library/bb404876.aspx[^]


这篇关于网格视图集选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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