R
Rik Hemsley
Hi,
I'm trying to delete a row from a recordset, but the database doesn't
seem to be changed at all.
Does this code look incorrect? AFAICT from reading MSDN, it's the Right
Way to delete a row...
MyDataAdapter.Fill(MyDataSet)
Dim r As MyDataSet.MyRow = MyDataSet.MyTable.Rows(0)
MyDataSet.MyTable.RemoveMyTableRow(r)
MyDataAdapter.Update(MyDataSet)
Cheers,
Rik
I'm trying to delete a row from a recordset, but the database doesn't
seem to be changed at all.
Does this code look incorrect? AFAICT from reading MSDN, it's the Right
Way to delete a row...
MyDataAdapter.Fill(MyDataSet)
Dim r As MyDataSet.MyRow = MyDataSet.MyTable.Rows(0)
MyDataSet.MyTable.RemoveMyTableRow(r)
MyDataAdapter.Update(MyDataSet)
Cheers,
Rik