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 the namespcae generally given to the webpage of the .NET Framework ?

0 Answers   Siebel,

HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

0 Answers   Petranics Solutions,

What is the use of "default" and "Using" keyword?

3 Answers   TCS,

Why do we use Design Pattern?

1 Answers   Impetus,

Can we make a Static Constructor Parameterized? Give Reason with your answer

0 Answers  

What happens in synchronisation?

2 Answers   Tech Mahindra,

What are the Uses of CLR

0 Answers   TCS,

What are different types of Delegates in C#?

0 Answers   PUCIT,

how can we pass parameters to a user control using delegates ?

1 Answers   IBM,

1. Describe page life cycle?

0 Answers   Steria, Mphasis,

What is the Difference between directcast and ctype?

1 Answers   Wipro,

windows c# using datagridview in edit form sql server

0 Answers