开发者

Sort a data grid based on a specified column

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜