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