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

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

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