摘要:
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 阅读全文
摘要:
OleDbCommandBuilder 使用方法===================================public Boolean DoDB(){MyConnection.Open(); //打开数据库,请参考前面文章的内容MyCommand.Connection = MyConnection; //设置Command,请参考前面文章的内容MyCommand. CommandText = “select * from admin”; //设置Command,参考前面文章的内容OleDbDataAdapter MyDataAdapter = new OleDbDataAdapte 阅读全文
摘要:
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></ 阅读全文
摘要:
http://hi.baidu.com/tuberose1605/blog/item/501ee319cae4f973dbb4bd32.html//****************************应用 Demo ***************************/// <summary>/// 更新指定图层类型/// </summary>/// <param name="TypeID">图层类型编号</param>/// <param name="TypeName">图层类型名称&l 阅读全文