摘要: 一般我们用使用ADO.NET查询数据库返回泛型集合?使用SqlDataReader逐行读取数据存入对象代码/// /// 获取UserInfo泛型集合/// /// 数据库连接字符串/// 要查询的T-SQL/// public IList GetUserInfoAll(string connStr... 阅读全文
posted @ 2014-08-04 18:41 ChengCailian 阅读(253) 评论(0) 推荐(0) 编辑