Example #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                this._cmdText    = string.Empty;
                this._connection = null;
            }

            base.Dispose(disposing);
        }
Example #2
0
        public ExcelDataAdapter(string selectCommandText, string selectConnectionString)
        {
            ExcelConnection connection = new ExcelConnection(selectConnectionString);

            this._selectCommand = new ExcelCommand(selectCommandText, connection);
        }
Example #3
0
 public ExcelDataAdapter(string selectCommandText, ExcelConnection selectConnection)
 {
     this._selectCommand = new ExcelCommand(selectCommandText, selectConnection);
 }
Example #4
0
 public ExcelCommand(string cmdText, ExcelConnection connection)
 {
     this._cmdText    = cmdText;
     this._connection = connection;
     this._parameters = new ExcelParameterCollection();
 }