Obviously, after SSPI, you are missing a half-colony, so the argument reads as SSPIAttachDbFilename=E:\\user\\program\\Database1.mdf , which is not a valid value for Integrated Security.
That should work.
var sc = new SqlConnection("Data Source=(LocalDB)\\v11.0; Integrated Security=SSPI;" + "AttachDbFilename=E:\\user\\program\\Database1.mdf")
source share