protected void btnAceptar_Click(object sender, EventArgs e) { MateriaLogic ml = new MateriaLogic(); listmateria = ml.GetAll(listplan[ddlPlan.SelectedIndex].ID); this.gvPlan.DataSource = listmateria; this.gvPlan.DataBind(); this.gridPanel.Visible = true; }
public void Listar() { MateriaLogic ml = new MateriaLogic(); try { this.dgvMaterias.DataSource = ml.GetAll(); } catch (Exception Ex) { MessageBox.Show(Ex.Message); } }
public void Listar() { MateriaLogic ml = new MateriaLogic(); this.dgvMaterias.DataSource = ml.GetAll(); }
private void CargarMaterias(int IDPlan) { MateriaLogic ml = new MateriaLogic(); ml.GetAll(IDPlan); DropDownListMateria.DataSource=listmat; DropDownListMateria.DataTextField= "Descripcion"; DropDownListMateria.DataBind(); }