1.@增加可讀性string cons =@"Data Source=.;Initial Catalog=數據庫名字;User ID=賬號 ?;pwd=密碼"; @作用:忽略關鍵字,使軟件讀取時,用一般字符串讀取,增加其可讀性。