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

How can you Navigate from the DHTML application to another DHTML application? .

1858


How do you avoid the "Invalid use of null" error when reading null values from a database?

1695


How many objects resides in ADO ?

1966


How would you add elements and pictures to listitems in listview control?

2045


What language does visual basic use?

972


What is activex control in vb?

1022


Types of DBCombo boxes

2062


How do I add a form in visual basic?

966


what is the Difference between Dynaset and Snapshot?

2043


State about the different types of visual basic data?

1096


What is the need of tabindex property is label control?

2050


Types of LockEdits in DAO?

2095


What is "NULL"?

1475


What is the latest version of visual basic?

932


Explain about manipulating the recordset object

997