Jun 17, 2011 at 1:14pm
Sqlcon.Format(_T("DSN=hassan;UID=has;PWD=123;APP=Microsoft\x00ae Visual Studio\x00ae 2005;WSID=DETECTIVEPC;DATABASE=stock"));
database.OpenEx(Sqlcon,CDatabase::noOdbcDialog);
This is the code for opening connection and, but i show me diloag for selecting DSN??