Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public void Listar()
 {
     MateriaLogic ml = new MateriaLogic();
     try
     {
         this.dgvMaterias.DataSource = ml.GetAll();
     }
     catch (Exception Ex)
     {
         MessageBox.Show(Ex.Message);
     }
 }
Ejemplo n.º 3
0
 public void Listar()
 {
     MateriaLogic ml = new MateriaLogic();
     this.dgvMaterias.DataSource = ml.GetAll();
 }
Ejemplo n.º 4
0
 private void CargarMaterias(int IDPlan)
 {
     MateriaLogic ml = new MateriaLogic();
     ml.GetAll(IDPlan);
     DropDownListMateria.DataSource=listmat;
     DropDownListMateria.DataTextField= "Descripcion";
     DropDownListMateria.DataBind();
 }