• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

操作Access数据库OLEHelper

mysql 搞代码 4年前 (2022-01-09) 16次浏览 已收录 0个评论

using System; using System.Data; using System.Data.OleDb; names来源gaodai#ma#com搞@代~码$网pace 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)

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

分享到:更多


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:操作Access数据库OLEHelper

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址