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...

how can i connect the samble database that comes with vb-6
(biblio.mdb) to a datagrid using code?

ie what code i have to put in load event

Answer Posted / karan munjal

make the adodc connection with database from its property
connection string & connect datagrid with adodc & write the code


adodc_.recordsource = "select * from table name"
datagrid.refresh
adodc.refresh

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of Data Form Wizard?

1959


1s it posible to Create Tables Through Querydef?

2138


What is ActiveX Dll and ActiveX Exe?

2199


How many ways we can access file using VB?

2206


Where can I get updated VB and other Microsoft files?

1451


What is the Windows API?

1495


How to get Cursor position using API?

2158


What is the use of property page Wizard in ActiveX Control?

2462


What is constructors and distructors.

2276


what is the Difference between Recordset and Querydef?

2279


what are the Differences between Recordset and Resultsets?

2504


What is the difference between Msgbox Statement and MsgboxQ function?

1922


What are the rules which should be followed while naming a variable in VB?

1022


Is it possible to set a shortcut key for label?

1871


What is datagrid in vb net?

960