🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #583

A problem concerning database connection

#583
From: eric_6251
Date: Fri, 13 Jan 2006 03:41
12 lines
1551 bytes
Dear Sir/Miss:
   I want to write a program that can automatically connect to a
database, avoid letting users to input username and password manually.
I look up in the help document and find a function called
connect. but I don't know how to use it. The example just said as
follows:
pConnect->connect"ServerName","UserName","PassWord");
but what is pConnect, which class does connect belong?

Or is there any other method just like the above ?

Thanks a million!! :-)
Technical Details
Message-ID: <1137123669.761251.306780@o13g2000cwo.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,b066cc53759ba8d7,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail
From: eric_6251@yahoo.com.cn
Newsgroups: borland.public.cppbuilder.database.ado
Subject: A problem concerning database connection
Date: 12 Jan 2006 19:41:09 -0800
Organization: http://groups.google.com
Lines: 13
Message-ID: <1137123669.761251.306780@o13g2000cwo.googlegroups.com>
NNTP-Posting-Host: 211.71.16.197
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1137123674 3377 127.0.0.1 (13 Jan 2006 03:41:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 13 Jan 2006 03:41:14 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: o13g2000cwo.googlegroups.com; posting-host=211.71.16.197;
   posting-account=biLLWA0AAACY55a2Q1Mkzz22D5ikiqYV