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 / 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 |
What is data control in vb?
Explain about declaring variables in Visual basic?
How do I implement an accelerator key for a text box?
How would you add column headers in listview control?
How come I get a "No Current Record" error when I use a a Data Control on an empty table?
What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?
what is the Difference between DDE and OLE?
It possible to call OLEDB's Features directly in VB without using any control?
What is the difference between modal and modaless form in VB?
How would you attach pictures in column headers of List View Control?
What is ActiveX Control?
How would you run your ActiveX Document Dll?