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

What is data control in vb?

0 Answers  


Explain about declaring variables in Visual basic?

0 Answers  


How do I implement an accelerator key for a text box?

0 Answers  


How would you add column headers in listview control?

0 Answers  


How come I get a "No Current Record" error when I use a a Data Control on an empty table?

0 Answers  






What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?

0 Answers   Wipro,


what is the Difference between DDE and OLE?

1 Answers  


It possible to call OLEDB's Features directly in VB without using any control?

0 Answers  


What is the difference between modal and modaless form in VB?

1 Answers  


How would you attach pictures in column headers of List View Control?

0 Answers   RRB,


What is ActiveX Control?

0 Answers   ABC,


How would you run your ActiveX Document Dll?

0 Answers  


Categories