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 use 0?

0 Answers  


syntax for writing private method in a interface

7 Answers   ABMPL, Wipro,


Is string passed by reference in c#?

0 Answers  


What does void mean unity?

0 Answers  


what is scope of a protected internal member variable of a c# class

0 Answers   Cognizant,






what is the fastest way to concatenate strings in c sharp?

4 Answers   HCL,


in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?

0 Answers   Siebel Systems,


Is java better than c sharp?

0 Answers  


What is a boolean c#?

0 Answers  


Explain manifest & metadata?

5 Answers   IBM, Wipro,


What is c# entity framework?

0 Answers  


How to transpose multi-dimensional array?

0 Answers   C DAC, CDAC,


Categories