Click here to Skip to main content
15,880,608 members
Articles / Desktop Programming / ATL

ADO Data Bound Class Wizard

Rate me:
Please Sign up or sign in to vote.
4.20/5 (8 votes)
27 Sep 2000CPOL 101K   1.7K   42   12
ADO Data Bound Class Wizard

Sample Image - wizdlg.jpg

Introduction

If you need a descendent class of CADORecordBinding to bind the member variables to columns in the database table, ADO Data Bound Class Wizard is a good program for you.

The ADO Data Bound Class Wizard is a Visual C++ program that guide you through the process of creating a CADORecordBinding derived class.

How to Use ADO Data Bound Class Wizard

  1. Enter your class name and an include (.h) file name
  2. If you wish, click on change button to specify where you want your file to be generated. The default directory is the same as the program (.exe) file.
  3. Click on Next button to setup connection information. On the Provider tab of the Data Link Properties dialog box, select an OLE DB provider, then specify connection properties on the Connection tab for the selected provider. Depending on your provider, other properties may need to be specified to establish a connection.

    NOTE: For more information about the Data Link Properties dialog box, press F1 from within the dialog box.

  4. Click on Next button and select the table you want to bind.
  5. Click on Finish button to generate your class.

How to Use CADORecordBinding Derived Class

Click here for MSDN Examples

The program has been tested with Microsoft Access and SQL Server 6.5 databases.

History

  • 21st September, 2000 - Updated download files

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 5 Pin
Bruce L. Ricker23-Jul-13 4:14
Bruce L. Ricker23-Jul-13 4:14 
The simple straightforward logic is easy to modify. For example, for an Oracle Database it kept on generating Field types adNumeric (Which are not very user friendly.) It took me about 5 minutes to do the changes required to generate nice friendly Field types like adSingle and adUnsignedSmallInt.
GeneralMy vote of 2 Pin
Mahdi Nejadsahebi27-Apr-12 19:07
Mahdi Nejadsahebi27-Apr-12 19:07 
Generalsize of chars seems to be too long Pin
mcSteve4-May-04 7:45
mcSteve4-May-04 7:45 
GeneralNot all ADO_BINDING entry type are used Pin
Baz9-Jun-03 23:27
Baz9-Jun-03 23:27 
QuestionCould you paste a sample here? Pin
cadinfo31-Jul-02 2:21
cadinfo31-Jul-02 2:21 
GeneralADO Record Binding Wizard Pin
2-Jul-02 11:17
suss2-Jul-02 11:17 
GeneralJust a handy perfect tool Pin
Aaron K.B. Huang18-Jan-02 2:31
Aaron K.B. Huang18-Jan-02 2:31 
GeneralMSDN Examples moved Pin
10-Aug-01 4:03
suss10-Aug-01 4:03 
GeneralRe: MSDN Examples moved Pin
Darron29-Oct-03 1:48
Darron29-Oct-03 1:48 
GeneralRe: MSDN Examples moved Pin
Ionel V11-Dec-08 3:06
Ionel V11-Dec-08 3:06 
GeneralVery cool, could use creation code generation Pin
Gary15-Sep-00 21:03
Gary15-Sep-00 21:03 
GeneralNo Query Support Pin
Steven Mitcham6-Jul-00 3:49
Steven Mitcham6-Jul-00 3:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.