[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.buildingcontrols

Commiting changes to a Gridview -- when I Choose

Plateriot

6/2/2008 11:51:00 PM

I have a Webform in which I manually created an entry form because of some
complex handling. It has an Update, Edit, New and Cancel functionality -
just like a Gridview with generated command buttons.

Within my webform, I have a Gridview that IS connected to an ObjectDataSet...
so IT is using command buttons --In this case -- 'Delete'

Do I need to use transactions, or is there a gridview functionality
(AcceptChanges??)that will allow me to tentatively HOLD the transaction made
- i.e. an Insert or Delete... UNTIL later when I click the Manual 'Update',
or 'Insert' button that I created OR not accept if I click my own Cancel
Button?