摘要: public class DBhelper { public static SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=库名;User ID=密码"); //查询 public SqlDataReader select(string sql) { SqlDataReader reader = null; conn.Open(); SqlCommand comm = new ... 阅读全文
posted @ 2014-04-09 08:44 Douglass 阅读(141) 评论(0) 推荐(0) 编辑