DataGrid数据库记录集操作
楚狂歌 2014-09-10 02:12:49 1、mDT.Rows(DataGridView1.CurrentCell.RowIndex).Delete()
2、mDT.Rows.RemoveAt(DataGridView1.CurrentCell.RowIndex)
这两句的区别在哪里?
Dim commandBuilder As New OleDb.OleDbCommandBuilder(adapter)
adapter.Update(mDT)的时候,第一句是有效的,第二句无效,均不报错。。。
为什么啊啊啊啊啊