(通过DataGridView的DataSource来绑定到一个BindSource上,该BindSource的DataSource绑定到DataSet的一个DataTable)如下:
            aDataGridView.DataSource = this.aBindSource;
            this.aBindSource.DataMember = "tableName";
            this.aBindSource.DataSource = aDataSet;
步骤:
在显示完DataGridView后,通过点击其的排序列进行排序后,通过
DataGridView的行号对相应的原来绑定的数据进行操作的时候发现对应
的还是排序前的记录(也就是原来的数据并没有跟着排序,所以没有对应上)问题:
不知道可否有办法在对DataGridView进行排序后能够通过DataGridView的行号
对相应的原来绑定的数据进行操作