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 are the tools in visual basic?

980


How to get Cursor position using API?

2103


How would you attach an ActiveX control in Your Application?

2300


What is ActiveX Document?

2066


What is the use of command Object?What are the various types of variables?

1053


what are the Differences between ActiveX Control and Standard Control?

3642


Through which protocol OLEDB components are interfaced?

1971


Is the Access Engine and Visual Basic Pro good enough for database work?

1614


How would you create your application in DHTML?

1836


what are the Differenct Types of Procedures in VB?

1850


Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?

1641


How would you convert a form into document?

1732


What is meant by building a recordset.

1062


Why API functions are Required?

2188


What do you know about chaining views.

987