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