摘要: Web config配置连接字符串 public static DataSet(string Sql) { using(SqlConnection conn=new SqlConnection(ConfigurationManager.ConnectionStrings["DBName"].ConnectionString)) { conn.Open(); using(SqlCommand cmd=conn.CreateCommand()) { cmd.CommandText... 阅读全文
posted @ 2011-04-18 12:16 高兴happy 阅读(495) 评论(0) 推荐(0) 编辑