how I show *.mdb table on a dialog ?
-
I'm working with ODBC and using *.mdb tables. I wanna show one of tables on a dialog. How can I do this? emroz
-
I'm working with ODBC and using *.mdb tables. I wanna show one of tables on a dialog. How can I do this? emroz
-
What you mean "show the table" I assume you wanna show the data of the table? You need EditBox, StaticBox, (may be ComboBox) for the data to be shown on the dialog box.
I wanna see all of records. I used dataGrid in visual basic. You can see the table on the form with it. How can can I do it in visual C++ emroz
-
I wanna see all of records. I used dataGrid in visual basic. You can see the table on the form with it. How can can I do it in visual C++ emroz
-
I'm working with ODBC and using *.mdb tables. I wanna show one of tables on a dialog. How can I do this? emroz
The simple way to incorporate ADO into your application is through the use of ActiveX controls. You can add the ADO data control to your Visual C++ project, just like any other ActiveX control. Once you add the ADO control to your project, and place it on a window, you’ll need to specify the data connection in the control properties. You’ll also need to specify the source for the records that will be retrieved by the control. To use the ADO control efficiently, you’ll also want to use data-bound controls that are ADO-enabled, such as the Microsoft DataGrid control. When you add these controls to the window with the ADO control, you’ll specify the ADO control as the data source for the control. If the control is designed to only provide access to a single field in a record set, you’ll also need to specify which field is to be used for the control. Once you add all these controls to the window and configure them, you can run your application and have full database access through ADO without having written a single line of code. If you cannot follow all the steps then you should try to read something about ActiveX controls (how to add them to your application). // Afterall, I realized that even my comment lines have bugs When one cannot invent, one must at least improve (in bed).-My latest fortune cookie