How To Maintain Transaction In C#?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can abstract classes be final?

498


Does a loop recorder have to be removed?

596


How do I open the console?

609


Is array ienumerable c#?

471


Why constructor is used in c#?

489






What are the advantages of properties in c#?

558


How do you specify a custom attribute for the entire assembly?

480


How to declare a property in a class?

551


What are predicates in c#?

546


What is multidimensional array in c#?

467


Which technology is best for desktop application?

436


Explain about WSDL

600


Can abstract class have private constructor c#?

512


What is virtual class in C#?

546


What is an assembly in .net?

575