Beispiel #1
0
 public virtual smrDataSet.vSSRDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     smrDataSet.vSSRDataTable dataTable = new smrDataSet.vSSRDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Beispiel #2
0
        public virtual int Fill(smrDataSet.vSSRDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }