开发者

Sort a data grid based on a specified column

开发者 https://www.devze.com 2022-12-25 13:30 出处:网络
Developed a winform project using VB 2008. I\'m using a .xls sheet as source. My appln has 7 columns and unspecified rows. I want to sort all the columns based on a specified column and allot a serial

Developed a winform project using VB 2008. I'm using a .xls sheet as source. My appln has 7 columns and unspecified rows. I want to sort all the columns based on a specified column and allot a serial number as per the sorted order. If two items in the specified column are same we should consider another column for the equ开发者_JS百科al items and sort them in that order. plz help me in this issue.


You could use a SortableBindingList

http://msdn.microsoft.com/en-us/library/ms993236.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消