protected void FillDepartments()
    {
        DataSet dsDepartment = new DataSet();

        dsDepartment = objDepartment.SelectAll();
        ddlDepartment.DataTextField  = "DepartmentName";
        ddlDepartment.DataValueField = "DepartmentId";
        ddlDepartment.DataSource     = dsDepartment.Tables[0];
        ddlDepartment.DataBind();
    }
 protected void FillDepartmentDetails()
 {
     grvDepartamentos.DataSource = objDepartment.SelectAll();
     grvDepartamentos.DataBind();
 }