G
Guest
Hi,
I have been trying to connect SQL Server2000 developer edition using the
following string.
SqlConnection conn = new
SqlConnection("server=localhost;database=pubs;uid=sa;pwd=");
I dont know where i am going wrong.
SQL Server Service Manager shows the following:
Server : Hemant
Services : SQL Server
Running \\Hemant -MSSQLServer
Even tried this command and numerous other combination but none seems to work.
SqlConnection conn = new
SqlConnection("server=Hemant;database=pubs;uid=sa;pwd=");
I want to establish connection using SqlConnection to the database pubs
using C# in .NET IDE.
Help me out. Where am i getting it wrong?? If someone else has answered
this question then provide me the link.
I have been trying to connect SQL Server2000 developer edition using the
following string.
SqlConnection conn = new
SqlConnection("server=localhost;database=pubs;uid=sa;pwd=");
I dont know where i am going wrong.
SQL Server Service Manager shows the following:
Server : Hemant
Services : SQL Server
Running \\Hemant -MSSQLServer
Even tried this command and numerous other combination but none seems to work.
SqlConnection conn = new
SqlConnection("server=Hemant;database=pubs;uid=sa;pwd=");
I want to establish connection using SqlConnection to the database pubs
using C# in .NET IDE.
Help me out. Where am i getting it wrong?? If someone else has answered
this question then provide me the link.