Rediger

Share via


Creating an OLE DB Consumer Using a Wizard

The ATL OLE DB Consumer wizard is not available in Visual Studio 2019 and later. You can still add the functionality manually. For more information, see Creating a Consumer Without Using a Wizard.

This procedure demonstrates how you can use the ATL Project Wizard and ATL OLE DB Consumer Wizard to generate an OLE DB Templates consumer and then modify the main code of the console application to retrieve and display data from a database table.

The last two sections explain the wizard-generated OLE DB consumer code.

This section covers the following topics:

See also

Creating an OLE DB Consumer