Dataadapter.update is not updating the database

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a dataset to select from table and display in datagrid
In runtinme i am editing the datagrid..On each change i need the database
content to be updated.
I tried with Dataadapter.update but the database is not updated...

the dataset is updated using currency manager.

how to proceed???
 
Hi Lawanya,

Try calling AcceptChanges method before DataAdapter.Update. This will
implicitly call the EndEdit to end any edits.

Thanks
Mona[Grapecity]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top