在C#窗口应用程序中排序 [英] Sorting in c# window application

查看:161
本文介绍了在C#窗口应用程序中排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想在window应用程序中的gridview中实现排序,并且我也已经在同一页面上完成了分页...希望对window应用程序c#中gridview第一页或第二页上的所有记录进行排序.
每当我触发HeaderColumnMouseClick事件时,我应该怎么做才能对数据表记录进行排序.我需要一些使用DefaultView在Datatables中进行排序的示例.


在此先感谢
Sahil

HI All,



I want to implemented sorting in gridview in window application and I have also done paging on the same... want to sort all record which are on gridview first page or second page in window application c#.

Whenever I fire HeaderColumnMouseClick event What Should I do in order to sort my datatable records. I need some examples for sorting in Datatables using DefaultView.


Thanks in advance
Sahil

推荐答案



请参阅下面的链接.可能会对您有帮助.

http://csharp.net-informations.com/datagridview/csharp-datagridview-paging.htm [^ ]
DataGrid分页-C#Windows表单 [
Hi,

See the below link. It might be help you.

http://csharp.net-informations.com/datagridview/csharp-datagridview-paging.htm[^]
DataGrid Paging - C# Windows Forms[^]


hi ,

你可以用这个...

http://nareshkamuni.blogspot.in/2012/04/gridview- sorting-and-paging-in-aspnet.html [ ^ ]


http://csharp.net-informations.com/datagridview/csharp-datagridview-filter.htm [^ ]

问候

sarva


you can use this one...

http://nareshkamuni.blogspot.in/2012/04/gridview-sorting-and-paging-in-aspnet.html[^]


http://csharp.net-informations.com/datagridview/csharp-datagridview-filter.htm[^]

regards

sarva


尝试此链接 [

这篇关于在C#窗口应用程序中排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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