Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what are the Types of LockEdits in RDO?

2039


what are the Types of LockEdits in RDO?

2169


what are the Types of cursors in RDO?

2303


What do you mean by Databound Controls Explain?

1912


Whether HTML supports multimedia: and document links?

1938


what are the Types of Resultsets?

2494


Write the steps in Creating ActiveX Dll and Active Exe?

2016


what are the Types of DBCombo boxes?

2107


What is OLEDB?

1960


What are the tools in visual basic?

991


Give brief description about class?

1852


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

2015


what are the Differences between Recordset and Resultsets?

2476


What about DLL calls that require callbacks?

1388


Explain about the creation of EXE files with Visual Basic?

974