P2Pprogrammer 2 programmer

Home > Programmer2Programmer.NET Forum> VB.NET, C# and .NET Core Development >> vb.net SQL 2005...

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

NOTE : Log In required to post Replies for this discussion.
vb.net SQL 2005
Tashi Posted: Wednesday 24, November 2010 08:26:49 AM     
   
HI,

I have one question regarding connecting to sql server 2005. I 
have one ini file named proj.ini which contains a database conn
ection parameter as shown below:

ServerName=sqlexpress\LMS
DatabaseName=LMSDB
UserID=sa
Password=sa12345
ConnectionTimeOut=99999

Now i am trying to create a class which could retrieve the conn
ection string from the above paramter of the ini file and conne
ct to sql server.

I have been trying to do so but could not. So please can you pl
ease help me out.

thanks
Back to Top ^  













Home > Programmer2Programmer.NET Forum >VB.NET, C# and .NET Core Development >> vb.net SQL 2005...