操作Access数据库OLEHelper

using System; using System.Data; using System.Data.OleDb; namespace Autumn.Data { /// summary /// Written:[China]ZhaoZhe /// Modify:[China]饶绍泉 /// Date:Sep.2004 /// Modify:2008.09 /// Version1.0 /// SupportMyBask /// Lookingforthelatest

using System;
using
System.Data;
using
System.Data.OleDb;

namespace
Autumn.Data
{
///



/// Written: [China] Zhao Zhe

///
Modify : [China] 饶绍泉

///
Date: Sep. 2004

///
Modify : 2008.09

///
Version 1.0

///
Support MyBask

/// Looking for the latest version or similar implentation of this function, please visit:


///

///
Purpose:

///
To make connection to access easier.a Access version of SqlHelper.

///
Describe:

///
- Add several overload functions, which made it easy to use.

///
- only for DataReader

///


///


public abstract class OLEHelper
{

public
OLEHelper()
{

}

///


/// 执行一段SQL语句,只有三个最简的必要参数,省去了CommandType

///
To excute a SQL statement, which reuturns a integer stand for effect line number.

///
default Command type is text

///


/// 连接字符串 (Conntection String)

/// Command的SQL语句 (SQL Statement)

/// 参数列表 (Paramters)

/// 返回影响行数 (effect line number)

点击复制链接 与好友分享!回本站首页

分享到:更多

郑重声明:本文版权包含图片归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们(delete@yzlfxy.com)修改或删除,多谢。

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。

留言与评论(共有 0 条评论)
昵称:
匿名发表
   
验证码: