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
Write the Steps in Creating an ActiveX Control?
Which method is preferred to save data like database to the disk?
What is "Reserved Error -1209"?
How can you Implement windows functionality in VB?
How do I dial a phone number without using the MSCOMM VBX?
What is the use of OLE?
How do you make a TEXTBOX read only? Or, how do I prevent the user from changing the text in a TEXTBOX?
How can I call a 'hidden' DOS program from VB?
Explain Default cursor Type and LockEdits type in RDO?
Explain the usage of Web Browser Control?
How about Access 2.0 compatibility?
Difference between Linked Object and Embedded Object?
Types of LockEdits in DAO? 51 .Types of Recordsets.
__ no of controls in form.
Maximum Control Names length?