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

OLE is used for _______

1100


What is ODBC Direct and Microsoft Jet Database Engine ?

1868


What is the current version of Visual Basic for Windows?

1119


Where can I get good up-to-date information about VB?

912


How can you Add API functions to your Application?

1357






Explain the types of Views in Listview Control.

2311


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

1536


Is visual basic case sensitive?

604


How would you Create a Query Builder and Explain its uses

1443


Which method is preferred to save data like database to the disk?

1528


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

1981


Which type of object requires this object?

1502


How would you Create a Query Builder and Explain its uses ?

1619


Explain the usage of Web Browser Control?

1486


How many File System Controls are there Explain?

1530