Benjamin,
The ADO.NET has a tranascation object so can issue a Begin and a Commit/Rollback as appropriate. If you google ADO.NET transaction you will find the syntax for it.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question