摘要: public static DataSet UpdateRows(string connectionString, string queryString, string tableName){ DataSet dataSet = new DataSet(); using (OleDbConnection connection = new OleDbConnection(connectionString)) { OleDbDataAdapter adapter = new OleDbDataAdapter(); adapter.SelectCommand = new OleDbCommand(q 阅读全文
posted @ 2011-03-08 21:13 shiningrise 阅读(426) 评论(0) 推荐(0) 编辑
摘要: OleDbCommandBuilder 使用方法===================================public Boolean DoDB(){MyConnection.Open(); //打开数据库,请参考前面文章的内容MyCommand.Connection = MyConnection; //设置Command,请参考前面文章的内容MyCommand. CommandText = “select * from admin”; //设置Command,参考前面文章的内容OleDbDataAdapter MyDataAdapter = new OleDbDataAdapte 阅读全文
posted @ 2011-03-08 21:11 shiningrise 阅读(4686) 评论(0) 推荐(0) 编辑
摘要: http://www.leadbbs.com/MINI/Default.asp?205-2758725-0-0-0-0-0-a-.htmusing System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.OleDb;using System.Web;namespace DAL{ public class db { /// <summary> /// 获得连接对象 /// </summary> /// <returns></ 阅读全文
posted @ 2011-03-08 15:03 shiningrise 阅读(374) 评论(0) 推荐(0) 编辑
摘要: http://hi.baidu.com/tuberose1605/blog/item/501ee319cae4f973dbb4bd32.html//****************************应用 Demo ***************************/// <summary>/// 更新指定图层类型/// </summary>/// <param name="TypeID">图层类型编号</param>/// <param name="TypeName">图层类型名称&l 阅读全文
posted @ 2011-03-08 14:41 shiningrise 阅读(479) 评论(0) 推荐(0) 编辑
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css