Click here to Skip to main content
12,298,001 members (52,544 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
what is rollback and commit in c#....thanks
help me
Posted 21-Dec-12 19:32pm
Comments
Shahin Khorshidnia 22-Dec-12 2:11am
   
Why don't you search the google before asking it?
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Rollbackh and Commit are part of Database Transaction, See here[^]...
If you want to transact it using C#, example is given here :http://forums.asp.net/t/1166177.aspx/1[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

The transaction can only be rolled back from a pending state (after BeginTransaction has been called, but before Commit is called). The transaction is rolled back if it is disposed before Commit or Rollback is called.
  Permalink  
Comments
Richard MacCutchan 23-Jun-15 8:39am
   
Please do not post replies to questions that are more than two years old. It serves no purpose other than to clutter the forum.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 23 Jun 2015
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100