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 serialization in unity?

0 Answers  


What is serialization in .net?

0 Answers  


Describe the overview of clr integration.

0 Answers  


what is main function of alternate teamplate of datalist?

0 Answers  


What is .dbml file?

0 Answers  






Explain attributes in c#?

0 Answers  


What does dbml mean?

0 Answers  


Can properties be private in c#?

0 Answers  


Does c# support a variable number of arguments?

0 Answers  


What are the Configuration files in .net?

0 Answers  


Is c# a strongly-typed language?

0 Answers  


What is the difference between convert and parse in c#?

0 Answers  


Categories