Dynamic loading data source

xiaoxiao2021-03-06  98

#include // Support ODBC

/ / # Pragma Comment (lib, "odbc32.lib")

IF (SqlConfigDataSource (NULL, ODBC_ADD_DSN, "Microsoft Access Driver (* .mdb", "DSN = student registration / 0dBq = H: // setup // msdn1 // samples // vc98 // mfc // data // stdreg //stdreg32.mdb/0description= test increase data source 2 ")))

AfxMessageBox ("Success");

Else

AfxMessageBox ("fail");

转载请注明原文地址:https://www.9cbs.com/read-104522.html

New Post(0)