winform DataGrid排序、去掉第一的空白列
排序:
dataGridView1.Sort(dataGridView1.Columns[3], ListSortDirection.Descending);
去掉空白列:
dataGridView1.RowHeadersVisible =false;
排序:
dataGridView1.Sort(dataGridView1.Columns[3], ListSortDirection.Descending);
去掉空白列:
dataGridView1.RowHeadersVisible =false;