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 are the Differences between Recordset and Resultsets?

0 Answers   IBS, Lava International,


Difference between Recordset and Querydef?

2 Answers   3i Infotech, IBM, TCS,


How to control the file?

0 Answers  


Are there any examples of commercial applications built using Visual Basic?

0 Answers  


What is hyperlink?

0 Answers  






What is the-use of property page Wizard in ActiveX Control?

0 Answers  


How many types of ActiveX Components are there in Visual Basic and what are they?

2 Answers  


What is the use of Data Form Wizard?

0 Answers  


what are container objects?

1 Answers  


What is the difference between Exec and ExecSQL? (wouldnt this be dependent on data access? Ie ADO use different method than DAO)

1 Answers  


What are the types of line styles available in Treeview Control?

0 Answers  


Which language is used in visual basic?

0 Answers  


Categories