コード例 #1
0
 public virtual dsReport.DataTable1DataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     dsReport.DataTable1DataTable dataTable = new dsReport.DataTable1DataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
コード例 #2
0
        public virtual int Fill(dsReport.DataTable1DataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }