469,903 Members | 2,050 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

User Interface and Batch Inserts/Updates

Hello to all,

I have a DetailView on a page with Insert/Update enable and Paging enable. I
would like to have on the same page two buttons ("Submit" and "Cancel")
where with the first ("Submit") all the entries will be passed to the
database (Inserts - Updates - Deletes) while with the second ("Cancel") all
changes will be discarded.
Is it possible?
I' am using DataSet and DataAdapter and I have to execute
Adapter.Update(DataTable) every time that insert/update/delete records. It
seems that after inserting a record, the page is postback and rereads the
data from the databasewithout finding the newly inserted record unless I
execute Adapter.Update(DataTable)!
Is there a way to solve the problem?

Thanks in advance
Dimitris Milonas

Nov 25 '07 #1
0 880

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Craig Stadler | last post: by
reply views Thread by Steve Bergman | last post: by
reply views Thread by Steve - DND | last post: by
2 posts views Thread by Private Pyle | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.