如何在DataGridView中使用DataSouce绑定将字符串排序为数字

时间:2015-07-27 11:12:05

标签: c# vb.net sorting datagridview datatable

根据我的latest question我已经更改了datagridview的数据源。现在它受DataTable的约束。在这种情况下SortCompare事件甚至不会发生。我现在如何调用我的活动SortCompare?它排序很完美......

编辑: 我不需要像"column_name DESC"那样进行正常排序,因此dt.DefaultView.Sort对我不起作用。

0 个答案:

没有答案
相关问题