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
What is the use of Data Form Wizard?
1s it posible to Create Tables Through Querydef?
What is ActiveX Dll and ActiveX Exe?
How many ways we can access file using VB?
Where can I get updated VB and other Microsoft files?
What is the Windows API?
How to get Cursor position using API?
What is the use of property page Wizard in ActiveX Control?
What is constructors and distructors.
what is the Difference between Recordset and Querydef?
what are the Differences between Recordset and Resultsets?
What is the difference between Msgbox Statement and MsgboxQ function?
What are the rules which should be followed while naming a variable in VB?
Is it possible to set a shortcut key for label?
What is datagrid in vb net?