protected void DropDTrainingAllBr_SelectedIndexChanged(object sender, EventArgs e) { clearGVandmsg(); DropDAttTrainingSpecJT.ClearSelection(); DropDAttTranJT.ClearSelection(); DropDAttTrainingSpecBr.ClearSelection(); DropDBranchTrain.ClearSelection(); DropDAttTrainBrJT.ClearSelection(); DropDBrTrainJT.ClearSelection(); DropDAttTranBrJT.ClearSelection(); DataTable result = null; if (DropDTrainingAllBr.SelectedValue != "-1") { EmployeeManager manage = new EmployeeManager(); result = manage.getEmployeeTookSpecTrainingAllBranch(DropDTrainingAllBr.SelectedValue); if (result != null && result.Rows.Count > 0) { ResultPanel.Visible = true; TrainingReportGridView.DataSource = result; TrainingReportGridView.DataBind(); } } else { ResultPanel.Visible = false; } }