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

            return(returnValue);
        }