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

            return(returnValue);
        }