Last post Aug 08, 2013 08:45 AM by nvielbig
Aug 07, 2013 04:43 PM|nvielbig|LINK
As it stands right now, I have created an Employee management system for internal use. Essentially, it has mutilple pages that all pertain to the same employee, and eventually a GridView is displayed (for now, that's it), that sums up all of the employees
and their information.
Each page has its own Inserts to the DB, and because they are separated, it is possible for the form user to fill out only a component of the "entire form", i.e., all of the pages, therefore entering an incomplete employee's information.
I'm not neccessarily looking for any code, just ideas about to how to about solving a situation like this. What are some good resources for "delaying" my DB inserts until say, the user hits the final submit button located on page X.
Thanks, and feel free to ask for clarification if need be.
Aug 07, 2013 06:15 PM|Lannie|LINK
Study ODP.NET transactions. With that in code you can delay the final insert for a given page and commit only when specific conditions are met that you specify,
like user clicks SAVE.
Aug 08, 2013 08:45 AM|nvielbig|LINK
Thanks for the direction. Will do.