Compiler Error Message: CS1009: Unrecognized escape sequence
Source Error:
Source Error:
|
Solution:
SqlConnection dbConnection = new SqlConnection("server=server\\Instance;uid=sa;pwd=;database=DBname;");
Or
SqlConnection dbConnection = new SqlConnection("Server=(local);Integrated Security=true;Initial Catalog=DBname;");
No comments:
Post a Comment