2.让字符串跨行 例如 string strSQL = "SELECT * FROM HumanResources.Employee AS e" " INNER JOIN Person.Contact AS c" " ON e.ContactID = c.ContactID" " ORDER BY c.LastName"; 使用@后 string strSQL = @"SELECT * FROM HumanResources.Employee AS e INNER JOIN Person.Contact AS c ON e.ContactID = c.ContactID ORDER BY c.LastName";