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

Is a decimal an integer?

475


What is singleordefault c#?

504


What are the string functions in c#?

516


Why singleton class is sealed in c#?

507


Why do we use static methods in c#?

530






What is the usage of Enumeration in C# Programming and is it good to use or not ?

559


Why is dll used?

592


What are the benefits of using generics in c#?

473


What is meant by collections in c#?

446


When To use HashTable In C#

545


Is exe is machine dependent?

492


How many digits are in an integer?

473


Is c# dictionary a hash table?

477


What types of object can I throw as exceptions?

532


How do you achieve polymorphism in c#?

503