Manipulating Records

  • Thread starter Thread starter Radi Radichev
  • Start date Start date
R

Radi Radichev

Hi All!
How can i delete or insert a record without using the bindingNavigator
control? I can move through the records with the binding source but i can't
find out how to delete and insert records.... Any tips? Thanks!
 
Radi,

There are a lot of possibilities the most simple ones are

DataTable.Add.Row(DataTable.NewRow);

DataTable.Rows(x).Delete();

Be aware not to use any Remove statement, that has another purpose than
deleting from a database.

I hope this helps,

Cor
 
Back
Top