protected void LoadPersonaGrid() { AlumnosGridView.DataSource = (idCursoTextBox.Text != string.Empty) ? new PersonasLogic().GetAlumnsByCourse(int.Parse(idCursoTextBox.Text)) : new PersonasLogic().GetAllAlumnos(); AlumnosGridView.DataBind(); }
protected void AlumnosGridView_PageIndexChanging(object sender, GridViewPageEventArgs e) { AlumnosGridView.PageIndex = e.NewPageIndex; AlumnosGridView.DataSource = new PersonasLogic().GetAll(); AlumnosGridView.DataBind(); }
protected void idPersonaButton_Click(object sender, EventArgs e) { AlumnosGridView.DataSource = new PersonasLogic().GetAll(); AlumnosGridView.DataBind(); personaPanel.Visible = !personaPanel.Visible; }