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
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
What is ActiveX Document?
What is FireHouse Cursors?
Is it possible to Manipulate data through flexgrid? Explain.
What is the-use of property page Wizard in ActiveX Control?
What is the use of Immediate, Local Window?
How would you create Visual basic Document file?
What is executenonquery in vb net?
___,___ arguments will be used to run a executable program in shell function
How do I get the Tab key to be treated like a normal character?
It possible to call OLEDB's Features directly in VB without using any control?
How do I program the Novell NetWare API from VB?
How would you access objects created in ActiveX Exe and ActiveX D1T ?
How do you zoom in visual basic?
What is meant by Establish Connection in RDO?