G
Guest
I am having problems with updating the changes done over a DataSet to a
Database.
All the changes being done using the Form are stored in the Dataset, but
when i decide to close the Form and open the form again, the changes are lost.
Also, the modification process works great, but adding or deleting a row
doesn't work.
I am using a SQLDataAdapter to manage all the
insert/delete/modification/select over the table.
I supose the problem is caused because i am calling:
this.sql_DA_Table.Update(this.Dataset)
in the wrong place.
Where i should use it?
in the Dataset.ChangeRow event?
in the Dataset.ChangingRow event?
in the Dispose event?
in another place?
Thanks for your time.
Database.
All the changes being done using the Form are stored in the Dataset, but
when i decide to close the Form and open the form again, the changes are lost.
Also, the modification process works great, but adding or deleting a row
doesn't work.
I am using a SQLDataAdapter to manage all the
insert/delete/modification/select over the table.
I supose the problem is caused because i am calling:
this.sql_DA_Table.Update(this.Dataset)
in the wrong place.
Where i should use it?
in the Dataset.ChangeRow event?
in the Dataset.ChangingRow event?
in the Dispose event?
in another place?
Thanks for your time.