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 the meaning of cts company logo?..

1 Answers   CTS,


what is the Max size allowed for label caption length?

2 Answers  


What is a toolbox in visual basic?

0 Answers  


what are the types of Recordsets?

1 Answers   Wipro,


What is the use of command Object?

2 Answers  


Does VB Supports OOPS Concepts? Explain..

4 Answers  


Is the Variant type slower than using other variable types?

0 Answers  


How many File System Controls are there ? Explain.

0 Answers  


What is the use of Hyperlink control for DHTML applications?

0 Answers  


What's the maximum size of a textbox?

5 Answers  


What is ADO?

1 Answers   Satyam,


To populate a single column value which dbcontrols you to use?

0 Answers  


Categories