Having problem in connecting with SQL Server 2005
I am using the following code for getting connection to the SQL Server 2005 Database:
I have debuged the code by placing a breakpoint exactly at this line and whenever I step over this statement it generates an exception and then when I print the message in the catch block, I got the following message:
which is exactly the string I am passing to the above function.
Can anybody help me?