Beispiel #1
0
 private void teacherViewButton_Click(object sender, EventArgs e)
 {
     gateways = new Gateway();
     teacherDataGridView.DataSource = gateways.RetrieveAllInfoFromTeacherTable();
 }
Beispiel #2
0
 private void deptViewButton_Click(object sender, EventArgs e)
 {
     gateways = new Gateway();
     deptDataGridView.DataSource = gateways.RetrieveAllInfoFromDeptTable();
 }
Beispiel #3
0
 private void teacherSearchButton_Click(object sender, EventArgs e)
 {
     gateways = new Gateway();
     teacherDataGridView.DataSource = gateways.SearchFromTeacherInfoTable(searchDeptComboBox.Text);
 }
Beispiel #4
0
 private void searchButton_Click(object sender, EventArgs e)
 {
     gateways = new Gateway();
     deptDataGridView.DataSource = gateways.SearchFromDeptInfoTable(searchComboBox.Text);
 }