Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Transactions?
 

Transactions?

Hi

I couldn't found something about transaction (ado.net, dtc). I expected,
that I can find something like this in this application.

Why are transactions not used? Or did I missed them?

Regards
SeeSharp

MigrationUser 1  Thursday, February 20, 2003 6:14 PM
you do the transaction yourself outside of the DAL

create a new connection object, attach it to a transaction, open the connection, pass that connection into the DAL for all the things you want to do in your transaction.  along the way if you get an error, rollback that transaction, if you get through all of them without error, then commit the transaction.

HTH
MigrationUser 1  Thursday, February 20, 2003 6:17 PM

You can use google to search for other answers

Custom Search

More Threads

• display xml in textbox
• Newbie : How to add the Xpander controls ?
• Two taskbar icons appears while opening new form
• Offline filtering dataset with databinding to text boxes
• Testing a new Post
• Cool things you can do with taskvision!
• Can't install IssueVision due to a password complexity issue?
• to Mitch walker
• Wrong versions in About TaskVision
• OK not bad but whats happening with the project?