类中:public static SqlConnection GetConnection() { return new SqlConnection(ConfigurationSettings.AppSettings["SQLConnectionString"]); }xml: