Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Winforms 根据指定列对数据网格进行排序_Winforms_Sorting - Fatal编程技术网

Winforms 根据指定列对数据网格进行排序

Winforms 根据指定列对数据网格进行排序,winforms,sorting,Winforms,Sorting,使用vb2008开发了一个winform项目。我使用.xls表作为源。My appln有7列和未指定的行。我想根据指定的列对所有列进行排序,并按照排序顺序分配序列号。如果指定列中的两个项目相同,则应考虑相等项的另一列并按顺序排序它们。请在这个问题上帮助我。您可以使用SortableBindingList

使用vb2008开发了一个winform项目。我使用.xls表作为源。My appln有7列和未指定的行。我想根据指定的列对所有列进行排序,并按照排序顺序分配序列号。如果指定列中的两个项目相同,则应考虑相等项的另一列并按顺序排序它们。请在这个问题上帮助我。

您可以使用SortableBindingList