【发布时间】:2011-02-10 02:33:45
【问题描述】:
我在 datagridview 中有带数字的字符串列。它没有绑定,我想按我使用的数字对它进行排序
colid.ValueType = typeof(int);
grid.Sort(colid, ListSortDirection.Descending);
但是有点像字符串,例如:
11
12
23
7
80
81
而预期是
7
11
12
23
80
81
【问题讨论】:
标签: c# winforms datagridview sorting