protected void Page_Load(object sender, EventArgs e) { AlumnosLista = (AlumnosRepository)Session["alumnosList"]; }
protected void Page_Load(object sender, EventArgs e) { AlumnosLista = (AlumnosRepository)Session["alumnosList"]; gridAlumnos.DataSource = AlumnosLista.DeVolverAlumnos(); gridAlumnos.DataBind(); }
protected void Session_Start(object sender, EventArgs e) { Session["userList"] = new UserRepository(); Session["alumnosList"] = new AlumnosRepository(); }