Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            facade=new BusinessFacade(myConn);

            Repeater_AllJobByAllSector.DataSource = facade.GetAllJob();
            Repeater_AllJobByAllSector.DataBind();

            Repeater_GetAllJobByAdministration.DataSource = facade.GetJobsBySectorId(1);
            Repeater_GetAllJobByAdministration.DataBind();
            Repeater_GetAllJobByThrough.DataSource = facade.GetJobsBySectorId(2);
            Repeater_GetAllJobByThrough.DataBind();
            Repeater_GetAllJobByAcademic.DataSource = facade.GetJobsBySectorId(3);
            Repeater_GetAllJobByAcademic.DataBind();
        }