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



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

Answer / 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

More Visual Basic Interview Questions

Clear property is available in ____,___ control.

0 Answers  


How many number of events does the Timer controls ?

3 Answers  


Does VB Supports OOPS Concepts? Explain..

4 Answers  


What are the differences between a standard module and a class module?

4 Answers  


How do you zoom in visual basic?

0 Answers  






What is constructors and distructors.

0 Answers  


what is the Code for DSN Less Connection?

1 Answers  


What is Database Connection pooling (relative to MTS)

1 Answers  


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

0 Answers  


How does the following statements work? On Error Resume Next

1 Answers  


How do I implement Undo?

0 Answers  


How do you avoid the "Invalid use of null" error when reading null values from a database?

0 Answers  


Categories