BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A problem concerning database connection,Thank you!!

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri Jan 13, 2006 8:58 am    Post subject: A problem concerning database connection,Thank you!! Reply with quote



Dear Sir/Miss:
I want to write a program that can automatically connect to a
database given the UserName and PassWord which is stored in a txt
file,(i.e. avoid prompting "login dialog" and letting users 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 billion!!
Back to top
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.