排序与分页 [英] Sorting & Paging

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

问题描述

我已经创建了Windows应用程序visual studio2010.我正在获取Grid中的记录.我需要排序和分页.请尽快提供解决方案.

I have Created Windows application visual studio 2010. I am getting Records in Grid. I need Sorting and Paging  .Please give solution as soon as possible.

谢谢,问候

Inguru

推荐答案

如果您创建了 LightSwitch 应用程序,则通过选中屏幕上数据集上的支持分页"复选框来完成分页.可以通过向数据集添加查询并在其中添加排序选项来处理排序 并将其用作网格的数据源(查询源选项).这两个选项都显示在下面的屏幕截图中.

If you have created a LightSwitch application then the Paging is done by checking the Supports Paging check box on the dataset within your screen. The sorting can be handled by adding a query to the dataset and adding the sort options within it and using this as the datasource of the grid (the query source option). Both options are shown on the screenshot below.

但是,我怀疑您没有使用lightswitch,所以我认为您所在的论坛不正确.抱歉.

However, I suspect that you havent used lightswitch so I think you are in the wrong forum. Sorry.


这篇关于排序与分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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