Hi,

I load a table data from my database using dataAdapter.Fill(dataset) method, and then using datarow to edit the records.

I want to use datarow.BeginEdit() for every row, and finally call dataadapter.Update(dataset) to write into database. The problem is the updated data is only written to datatable/dataset but never written to database. What is the problem?

If i just edit the record by record and followed by a call to dataadapter.Update(dataset), the data is written to database.

Can anyone give me a sample of how to use BeginEdit() to write data to database? I searched the internet but all is about using BeginEdit to edit the record and write to datatable only, not to permanent database.