Algo Rhythm

Algo Rhythm

  • NA
  • 41
  • 0

Updating Database From DataGrid

Dec 16 2009 9:25 AM

I have a datagrid with a record bound to it from a database.  The SELECT statement is of this form SELECT * FROM Table1 WHERE ID = @ID.  I had VS generate the UPDATE and DELETE statements automatically. I do not understand why when I edit the datagrid for some records the data change is persisted in the database and for others it is not?

Answers (4)