Commiting changes to a Gridview -- when I Choose

Discussion in 'ASP .Net Building Controls' started by Plateriot, Jun 3, 2008.

  1. Plateriot

    Plateriot Guest

    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
    Plateriot, Jun 3, 2008
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.