SyntaxFix
Write A Post
Hire A Developer
Questions
When using SQL Express, you need to specify \SQLExpress instance in your connection string:
string str = "Data Source=HARIHARAN-PC\\SQLEXPRESS;Initial Catalog=master;Integrated Security=True" ;