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

Types of LockEdits in DAO?

0 Answers  


Explain about the creation of EXE files with Visual Basic?

0 Answers  


How to customize workgroup message?

0 Answers  


Wat is multithreading in VB?

4 Answers  


What is meant by Establish Connection in RDO?

0 Answers  






Explain about declaring variables in Visual basic?

0 Answers  


How would you add elements in TreevieW Control?

0 Answers  


How can you check Beginning and End of the file?

2 Answers  


How many types of API functions are available in VB?

0 Answers  


___ VB constant make the menu item in centre.

0 Answers  


Which datatypes in Visual Basic are capable of accepting Nulls?

1 Answers  


What is a datacontrol?

1 Answers  


Categories