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

What is lazy loading c#?

0 Answers  


What is indexers in C#

4 Answers   Bodhtree,


What is difference between gridview and form view?

0 Answers  


Is null == null c#?

0 Answers  


Why do we need events in c#?

0 Answers  






What is ienumerator c#?

0 Answers  


What is concrete class in c# with example?

0 Answers  


What is the difference between interface and inheritance in c#?

0 Answers  


Is stringbuilder faster than string concatenation c#?

0 Answers  


Explain lock, monitors, and mutex object in threading.

0 Answers  


What is difference between function and method in c#?

0 Answers  


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

0 Answers  


Categories