public void ShowDepartmentResults(IEnumerable <DepartmentDTO> departmentDtos)
 {
     DepartmentResultsGridView.DataSource    = departmentDtos;
     DepartmentResultsGridView.EmptyDataText = Constants.EmptyData.DepartmentResults;
     DepartmentResultsGridView.DataBind();
     DepartmentResultUpdatePanel.Update();
 }
示例#2
0
 public void ClearControls()
 {
     DepartmentResultsGridView.DataSource = null;
     DepartmentResultsGridView.DataBind();
     Update();
 }