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

Explain about an event-driven programming language?

966


What is connection object in vb net?

1047


what are the Types of Resultsets?

2569


Is visualvm free?

1097


Why can't I use an index with my VB accessed database?

1481


What are the uses of List View Control?

1979


Recordset object consists what?

2089


what are the Parts of ODBC?

1853


How would you create Visual basic Document file?

2083


How can you get selected file from file system Control?

2005


Whether HTML supports multimedia: and document links?

1871


How would you navigate between one document to another document

1652


___ VB constant make the menu item in centre.

1777


What is the latest version of visual basic?

930


Explain the types of Views in Listview Control?

2247