ODBC Sample ================================ This sample demonstrates how to use ODBC APIs to Connect to and access database. Sample Language Implementations =============================== C++ Files: ============================================= odbcsql.sln odbcsql.vcxproj odbcsql.cpp To build the sample using the command prompt: ============================================= 1. Open the Command Prompt window and navigate to the Odbcsql directory. 2. Type msbuild odbcsql.sln. To build the sample using Visual Studio (preferred method): =========================================================== 1. Open File Explorer and navigate to the Odbcsql directory. 2. Double-click the icon for the odbcsql.sln file to open the file in Visual Studio. 3. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory. To run the sample: ================= 1. Navigate to the directory that contains the new executable, using the command prompt or File Explorer. 2. Type Odbcsql.exe at the command line, or double-click the icon for Odbcsql.exe to launch it from File Explorer. 3. Select the ODBC DSN to connect to. Follow the message of the sample application to input SQL query.