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

            return(returnValue);
        }