示例#1
0
        //constructors


        //methods
        public Int32 checkAvalibility()
        {
            TimetableDataSetTableAdapters.TimeTableTableAdapter tableAdapter;
            tableAdapter = new TimetableDataSetTableAdapters.TimeTableTableAdapter();
            tableAdapter.GetData();

            //go to database to get avalible days
            //go to database to get avalible times
            //go to database to get on duty info
            MessageBox.Show("CheckAvalibility");
            return(0);
        }
示例#2
0
 private void databaseUpdate_TimeTable(int ID, string monday, string tuesday, string wednesday, string thursday, string friday, string saturday, string sunday)
 {
     TimetableDataSetTableAdapters.TimeTableTableAdapter tableAdapter;
     tableAdapter = new TimetableDataSetTableAdapters.TimeTableTableAdapter();
     tableAdapter.InsertQuery(ID, monday, tuesday, wednesday, thursday, friday, saturday, sunday);
 }