Exemple #1
0
 private void FormRutas_Load(object sender, EventArgs e)
 {
     try
     {
         dgFormulario.AutoGenerateColumns = false;
         FillComboBox(cbxOrigen, ciuBll.GetAll());
         FillComboBox(cbxDestino, rutBll.GetAllId(new WInteger(Convert.ToInt32(cbxOrigen.SelectedValue))));
         CleanText(true);
         FillGrid();
     }
     catch (Exception)
     {
     }
 }
Exemple #2
0
 public void FillGrid()
 {
     dgFormulario.DataSource = null;
     dgFormulario.DataSource = ciuBll.GetAll();
     dgFormulario.Refresh();
 }