postponing changes to the database while using gridview-sqldatasoruce

A

Aamir Ghanchi

http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/msg/01cdac5093057079

Hi, above is the link to a question posted by soomeone in this
usergroup an year ago, but it never got answered. I have exactly the
same question.
Is their a way for a (non paged) gridview-sqldatasource duo to hold
off any changes to the actual database till the user clicks a save
button (outside of the gridview). I would love to use the edit/delete
functionality gridview provides, but not to make the changes right
away to the database when the user clicks the Update or Delete
linkbuttons in the EditItemTemplate. Any response will be appreciated.
thanks!
 
B

bruce barker

trival, as this is builtin.

use a dataset (stored in session) to bind the gridview to. then on save,
apply the dataset changes. extra points for using a typed dataset.

-- bruce (sqlwork.com)
 
A

Aamir Ghanchi

trival, as this is builtin.

use a dataset (stored in session) to bind the gridview to. then on save,
apply the dataset changes. extra points for using a typed dataset.

-- bruce (sqlwork.com)






- Show quoted text -

Bruce, thanks for the response.

This means that I have to do away with the sqldatasource then. oh
well.
thanks again!
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top