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 |
Wat is multithreading in VB?
by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.
What are the types of validations available in Visual Basic?
___,___ and __ are difference between image and picture controls.
Explain Default cursor Type and LockEdits type in RDO?
How should dates be implemented so they work with other language and country formats?
Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?
What is Seek Method which type of record set is available this?
What do you know about chaining views.
Explain Get, Let, Set Properties?
How can you Add API functions to your Application?
Difference Types of Procedures in VB?