DataGridView控件 SortCompare事件:在不是绑定数据用来比较前后值的 if(e.Column.Name=="") { //e.SortResult是-1和0 } sorted事件:绑定数据比较绑定值