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.
Answer Posted / 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 |
Post New Answer View All Answers
How can you Navigate from the DHTML application to another DHTML application? .
How do you avoid the "Invalid use of null" error when reading null values from a database?
How many objects resides in ADO ?
How would you add elements and pictures to listitems in listview control?
What language does visual basic use?
What is activex control in vb?
Types of DBCombo boxes
How do I add a form in visual basic?
what is the Difference between Dynaset and Snapshot?
State about the different types of visual basic data?
What is the need of tabindex property is label control?
Types of LockEdits in DAO?
What is "NULL"?
What is the latest version of visual basic?
Explain about manipulating the recordset object