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 do you mean by “finalize” and “finally” methods in c#?

0 Answers  


Can you declare a field readonly?

0 Answers  


What is an assembly in .net?

0 Answers  


Can an interface inherit an interface

1 Answers   Synechron,


Explain what is the smallest unit of execution in .net?

0 Answers  






Explain the difference between .net and c#?

0 Answers  


Define Abstract Class in C#

0 Answers   HCL,


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

0 Answers  


What are different types of Delegates in C#?

0 Answers   PUCIT,


How can I get the ascii code for a character in c#?

0 Answers  


This is Kishore i am MCA graduate i have percentage less(52%) in my 10th still i completed .NET course any body tell me how to put fake experience with my BSC degree if you do not mind tell me some fake certificates giving consultencies names in Chennai,Bangalore

5 Answers  


write program in C# for palindrome? (aug 2009) write program in C3 for generating below output?(aug 2009) # # # # # # # # # #

4 Answers   TCS,






Categories