public virtual dsReportByType.view_BorrowBytype1DataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; dsReportByType.view_BorrowBytype1DataTable dataTable = new dsReportByType.view_BorrowBytype1DataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(dsReportByType.view_BorrowBytype1DataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return(returnValue); }