www.digitalmars.com         C & C++   DMDScript  

c++.mfc - MFC and ODBC

reply Borja Torres <Borja_member pathlink.com> writes:
Hi, anyone knows how I can to put password in a database with odbc?

Thanks.
Jan 30 2005
parent frex4u <frenx4u yahoo.co.in> writes:
You do ca do it while registering your database.

Open "ODBC Data Source Administrator" from Cotrol Panal >
Administrative Tools> Data Sources (ODBC).

Select a DSN tab and click Add
Select the specific driver and the data source
select the database. You will be asked for a UID and Password.

Anotherway is while opening the database
open(...,UID="Admin",PWD="passwor",...)
Aug 11 2008