I have this line for the connection with my connection string
SqlConnection conn = new SqlConnection("Data Source=(LocalDB)MSSQLLocalDB;AttachDbFilename=""C: \Users\BDV\Documents\Visual Studio 2015\Projects\Interface_notes\Interface_notes\Database1.mdf"";Integrated Security=True;Connect Timeout=30");
But I get this error :
Class System.String
Represents Text as a series of Unicode characters
Syntax Error, ',' expected
I think the problem is with the double quotation marks, but I can't figure out what I can do instead. Can someone help me with this? Thanks Unrecognized escape sequence