当前位置:数据库 > Access >>

操作Access数据库OLEHelper

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

namespace Autumn.Data
{
    /// <summary>

    /// 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:<see cref="http://www.mybask.net"/>

    /// 

    /// 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

    /// 

    /// </summary>

    public abstract class OLEHelper
    {

        public OLEHelper()
        {

        }

        /// <summary>

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

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

        /// default Command type is text

        /// </summary>

        /// <param name="connString">连接字符串 (Conntection String)</param>

        /// <param name="cmdText">Command的SQL语句 (SQL Statement)</param>

        /// <param name="cmdParms">参数列表 (Paramters)</param>

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

补充:软件开发 , C# ,
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,