G
Guest
I have multiple web forms in my application. The user after logging on is
directed to form1 where he enters information desired. Once finished he is
directed to form2 and the same procedure goes on till form6. After user has
entered information in all 6 forms the information needs to be entered in the
database by performing a Transaction. If the data from any of the forms is
missing the Transaction is rolled back.
My query is where do i store the data from first five forms till i commit
the transaction?
Right now I am using a dataset, which I instatiated in form 1. As the user
is direcetd to form2 the data entered is stored in table1 which is added to
dataset, which in turn is stored in cache. In subsequent forms I add new
Tables to same Dataset and after finishing all the forms I am using the same
dataset to update the Database by carrying out a transaction in DataAdapters
UpdateCommand Object.
Is this the way I shall perform the transaction? Pls Guide. Pls specify the
correct methodology if I am doing it wrong.
directed to form1 where he enters information desired. Once finished he is
directed to form2 and the same procedure goes on till form6. After user has
entered information in all 6 forms the information needs to be entered in the
database by performing a Transaction. If the data from any of the forms is
missing the Transaction is rolled back.
My query is where do i store the data from first five forms till i commit
the transaction?
Right now I am using a dataset, which I instatiated in form 1. As the user
is direcetd to form2 the data entered is stored in table1 which is added to
dataset, which in turn is stored in cache. In subsequent forms I add new
Tables to same Dataset and after finishing all the forms I am using the same
dataset to update the Database by carrying out a transaction in DataAdapters
UpdateCommand Object.
Is this the way I shall perform the transaction? Pls Guide. Pls specify the
correct methodology if I am doing it wrong.