protected void DropDNotAttTrainAll_SelectedIndexChanged(object sender, EventArgs e) { clearGVandmsg(); DropDNotAttTraningJT.ClearSelection(); DropDNotAttJTAllBr.ClearSelection(); DropDNotAttTrainSpecBr.ClearSelection(); DropDNotAttBranchSpec.ClearSelection(); DropDNotTrainBrJT.ClearSelection(); DropNotAttJobBranch.ClearSelection(); DropNotAttBrJT.ClearSelection(); DataTable result = null; if (DropDNotAttTrainAll.SelectedValue != "-1") { EmployeeManager manage = new EmployeeManager(); result = manage.getEmployeeNotTookSpecTrainingAllBranch(DropDNotAttTrainAll.SelectedValue); if (result != null && result.Rows.Count > 0) { ResultPanel.Visible = true; TrainingReportGridView.DataSource = result; TrainingReportGridView.DataBind(); } } else { ResultPanel.Visible = false; } }