Which ADO object is used to perform commit / rollback ?
Is it command or connection or recordset

I am not sure of the options given. So please let me know
the answer if it is something else.

Answers were Sorted based on User's Feedback



Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / ghanshyam vrema

ye, through Connection object you can commit or rollback
the transaction Eg:

on error go to errhandler
con.BeginTrans

con.execute cmd
con.execute cmd2
con.CommitTrans
errhandler:
con.RollbackTrans

Is This Answer Correct ?    18 Yes 0 No

Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / senthil

Connection object

Is This Answer Correct ?    14 Yes 0 No

Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / anjani

Connection Object of ADO is Used to Perform Commit and
Rollback.

Is This Answer Correct ?    9 Yes 0 No

Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset ..

Answer / john ranjith

Connection object will be used to commit / rollback the
transaction

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

What is ODBC Direct and Microsoft Jet Database Engine ?

0 Answers  


___ is a property to resize a label control according to your caption.

0 Answers  


What is script control?

0 Answers  


What is the benefit of wrapping database calls into MTS transactions?

1 Answers  


How many types of API functions are availble in VB?

1 Answers  






What is the difference between queryunload and unload in form?

2 Answers  


Is visual basic case sensitive?

0 Answers  


Name and define the logical tiers in a traditional 3-tiered architecture?

1 Answers  


Difference between ActiveX Exe and Dll.

0 Answers  


How can you read content from file?

2 Answers  


What is the difference between a ActiveX DLL and a ActiveX EXE?

2 Answers   Infosys,


How do you clear the current selected item from a drop down combo box?

2 Answers  


Categories