private void getEmployeeNotTookTrainBasedOnBranchJT() { clearGVandmsg(); if (DropDNotTrainBrJT.SelectedValue != "-1" && DropNotAttJobBranch.SelectedValue != "-1" && DropNotAttBrJT.SelectedValue != "-1") { EmployeeManager manage = new EmployeeManager(); DataTable result = manage.getEmployeeTookSpecTrainingSpecBranchAndJT(DropDNotTrainBrJT.SelectedValue, DropNotAttJobBranch.SelectedValue, DropNotAttBrJT.SelectedValue); if (result != null && result.Rows.Count > 0) { TrainingReportGridView.DataSource = result; TrainingReportGridView.DataBind(); } } else { ResultPanel.Visible = false; } }