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