How To Maintain Transaction In C#?



How To Maintain Transaction In C#?..

Answer / mohit jethva

You need to create object of connection and then create
object of command and then assign a conn.begintransation to
a command object then tran.commit or tran.rollback this way
you can maintain transaction in c#

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Why do we need indexers in c#?

0 Answers  


If you donot specify an access modifier for a method, what is the default access modifier?

0 Answers  


Can an Assembly have multiple versions

13 Answers   TCS,


If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?

2 Answers  


What are PE(Portable Executable)?

0 Answers   MCN Solutions,






How big is an int16?

0 Answers  


How?s method overriding different from overloading?

3 Answers  


What is asenumerable in c#?

0 Answers  


What is difference between internal and protected internal in c#?

0 Answers  


How do you sort an array in c#?

0 Answers  


Can variables defined in interface. If yes how we can call/use it in class.

2 Answers   Synechron,


Does c# support properties of array types?

0 Answers  


Categories