🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #10121

Re: SOS!Visual C++��ODBC���������⣡

#10121
From: Jack Hong
Date: Sat, 04 Apr 1998 00:00
19 lines
1244 bytes
Try this:

/*-------------------------------------------------*/
CDatabase db;
strConnection.Format( "...;UID=%s;PWD=%s", username, password );
db.OpenEx( strConnection, CDatabase::noOdbcDialog );
/*-------------------------------------------------*/

if you have any problems, please mailto:jack-hong@usa.net
Good luck!!

jtp.bbs@bbs.nease.net wrote in message <3NR62Z$rP8@bbs.nease.net>...
>����Visual C++1.52��ʹ��ODBCʱ���֣�
>����ʹ��Ĭ�ϵļ�����ݿ⣬����ʾ�������루Admin password)
>����ʹ���Խ�����ݿ⣬���ܼ���CRecordSet����
>
>--
> ��Դ: ����������BBSվ��bbs.nease.net�E[FROM: www-post@bbs.nease.n]
Technical Details
Message-ID: <6g5g8k$1t$1@bbs.nease.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3NR62Z$rP8@bbs.nease.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 101948,e9d6f78db439831a,start
X-Google-Attributes: gid101948,public
From: "Jack Hong" <jack-hong@usa.net>
Subject: Re: SOS!Visual C++��ODBC���������⣡
Date: 1998/04/04
Message-ID: <6g5g8k$1t$1@bbs.nease.net>
X-Deja-AN: 340817788
References: <3NR62Z$rP8@bbs.nease.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: Net Ease
Newsgroups: cn.bbs.comp.database