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

What is dataadapter c#?

473


What do you mean by shared assembly?

578


How do you comment out code in c#?

453


Why we use get set in c#?

489


What is default constructor c#?

496






Can we inherit class that contains only one private constructor?

509


What Is A Satellite Assembly?

530


What are data types examples?

480


How does foreach loop work in c#?

471


What are the types of constructors?

491


What are console applications used for?

476


Why do we use anonymous method in c#?

490


what is the difference between interface and multiple interface?

526


What is private static in c#?

469


What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default

548