P2Pprogrammer 2 programmer

Home > Programmer2Programmer.NET Forum> P2P General Discussion >> SQL Express connection string...

Welcome Guest My Thread | Search | Active Topics | Members | Log In | Register

NOTE : Log In required to post Replies for this discussion.
SQL Express connection string
NetExpert Posted: Wednesday 08, February 2012 05:00:49 PM     
   
What will be the connection string for VB6 and 
SQL Express ?. Not able to connect VB6 and SQL Express.
Back to Top ^  
 AtanuMaity Posted: Wednesday 08, February 2012 05:03:43 PM
  
   
Find the connection strings
for SQL Express and VB6

Windows Authentication
Cn.ConnectionString = "Driver={SQL Native Client};Server=maity\
SQLEXPRESS;Database=eRail; Trusted_Connection=yes;"

SQL Authentication
Cn.ConnectionString = "Driver={SQL Native Client};Server=maity\
SQLEXPRESS;user id=sa; password=aaa101;Database=eRail; Trusted_
Connection=yes;"

-aM

Back to Top ^ 


Home > Programmer2Programmer.NET Forum >P2P General Discussion >> SQL Express connection string...