C#操作ACCESS数据库(创建,压缩,备份,恢复)ExecuteNonQuery(),ExecuteScalar(),ExecuteReader的用法
http://hi.baidu.com/zh%5Fagain/blog/item/dca265fc7d9f024cd7887d77.html
http://hi.baidu.com/9021616/blog/item/a9baeb236fffff41ad34def2.html
ExecuteScalar 函数功能 收藏 MSDN 资料 Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored. Namespace: System.Data.OleDb 用处: 查询数据库总记录数 string querystr = "select count(*) From ConanMsg";
本文来自优快云博客,转载请标明出处:http://blog.youkuaiyun.com/hanxin2008/archive/2006/09/2 |