protected void FillData() { DataTable employeeTable = department.DisplayDepartment(); DepartmentView.DataSource = employeeTable; DepartmentView.DataBind(); }
protected void LoadDepartmentDetail() { DepartmentView.DataSource = _dm.FetchDepartments(int.Parse(Request.QueryString["depid"])); DepartmentView.DataBind(); }