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

_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

1803


What is data control in vb?

1080


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

2021


Write the steps in Creating ActiveX Dll and Active Exe?

2202


What is ado in vb.net?

1086


how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?

2493


How about Access 2.0 compatibility?

1489


How can Visual Basic be used for server-side scripting?

1011


How would you find out the value property in Slider Bar Control?

1946


How do I call a DLL?

1548


In which areas the Error occurs?

1967


Draw Sequence Modal of RDO? Explain.

2114


What is rdo in vb?

1359


Draw Sequence Modal of DAO and Explain?

2094


Can you tell me the properties of the controls?

2082