ADO简单操作 DataSet
来源:互联网 发布:电商与淘宝有什么区别 编辑:程序博客网 时间:2024/06/05 04:00
string strsql = "select * from product_taoxi_user";
string strcon = "server=localhost; port=3307;user id = root; password =123456; database = baoli_sms; Allow Zero Datetime=True; charset=utf8";
MySqlConnection con = new MySqlConnection(strcon);
con.Open();
MySqlDataAdapter sda = new MySqlDataAdapter(strsql, con);
DataSet ds = new DataSet();
sda.Fill(ds, "testTable");
con.Close();
string strcon = "server=localhost; port=3307;user id = root; password =123456; database = baoli_sms; Allow Zero Datetime=True; charset=utf8";
MySqlConnection con = new MySqlConnection(strcon);
con.Open();
MySqlDataAdapter sda = new MySqlDataAdapter(strsql, con);
DataSet ds = new DataSet();
sda.Fill(ds, "testTable");
con.Close();
0 0
- ADO简单操作 DataSet
- ADO.NET中DataSet数据填充操作
- ado.net2.0 dataset
- ADO.NET DataSet
- 【ADO.NET】DataSet使用方法
- ADO.NET -- DataSet对象
- 细说:DataSet (ADO.NET)
- ADO.NET DataSet 数据模型
- ADO.NET DataSet:笔记
- ADO DataSet用法
- dataset操作
- ADO.NET中的DataSet对象
- c# ado.net DataSet用法
- ADO.NET DataSet和DataAdapter
- ADO.NET DataSet 常见问题目录
- ADO.NET——DataSet
- ADO.net——DataSet
- ADO.NET 的 DataSet(很重要)
- fedora19下配置samba服务器与windows7共享文件夹
- 目标黑马,我的自学之路:第十六章 基础测试实例
- 分层有限状态机的C++实现
- HDU—— 4438 Hunters
- UVA10192
- ADO简单操作 DataSet
- [android基础知识] 之十四: adb shell命令整理帖
- 【解读】pmp认证
- 深入分析java中的中文编码问题
- Unity3d内存管理与优化
- 使用drawableLeft图片不居中问题
- Code signing Guide代码签名探悉
- Guava缓存器源码分析——LocalCache
- Linux内核的Oops