protected void FillData()
        {
            DataTable employeeTable = department.DisplayDepartment();

            DepartmentView.DataSource = employeeTable;
            DepartmentView.DataBind();
        }
예제 #2
0
 protected void LoadDepartmentDetail()
 {
     DepartmentView.DataSource = _dm.FetchDepartments(int.Parse(Request.QueryString["depid"]));
     DepartmentView.DataBind();
 }