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 differece b/w Module and class Modules in vb6? thanks

4 Answers   Ask Techsys, TCS,


How do I do Peek and Poke and other low-level stuff?

1 Answers  


what is the difference between procedures,attributes and functions?

1 Answers   Microsoft, Patni,


What are the uses of List View Control?

1 Answers  


Why doesn't "my string" & Chr$(13) do what I want?

1 Answers  


what is the Difference between Tabletype and Snapshot?

1 Answers  


___ Property is used to count no. of items in a combobox.

1 Answers  


Explain the types of Views in Listview Control?

1 Answers   Hella,


What is script control?

1 Answers  


What is RDO?

1 Answers  


How would you run your ActiveX Document Dll?

1 Answers  


How do you call a function in a DLL?

1 Answers  


Categories