Friday, July 31, 2009

Question about data source in C#, king of simple question?

Hi, I'm reading the book Visual C# step by step.


And in the code I have to write "Data Source =mcname\\sqlexpress";





the problem is that I'm not using SQLExpress so this statment is not working, With what I suppost to substitud the sqlexpress word? I try MSSQLServer but is not working. Please Help!!!

Question about data source in C#, king of simple question?
You need to put in the instance name of your own SQL Server that you are trying to connect too.





EDIT: example


server name \ instance name


MyHomePC \ SQLExpress


MyWorkPC \ SQLSrv1

spring flowers

No comments:

Post a Comment