Exemplo n.º 1
0
 private void cargargrilla()
 {
     lista = bllArea.getAll();
     dgvArea.DataSource = lista;
     dgvArea.Refresh();
     ultimo = string.Format("{0:0000}", Convert.ToInt32(lista.Count + 1));
 }
Exemplo n.º 2
0
 private void FrmTraslados_Load(object sender, EventArgs e)
 {
     lstArea               = bllArea.getAll();
     cboArea.DataSource    = lstArea;
     cboArea.DisplayMember = "nombre";
     cboArea.ValueMember   = "codigo";
 }
Exemplo n.º 3
0
        private void CargarAreas()
        {
            BLL.AreaBLL  ctrArea = new BLL.AreaBLL();
            List <EArea> Areas   = null;

            Areas = ctrArea.getAll();
            if (Areas.Count > 0)
            {
                cboArea.DisplayMember = "nombre";
                cboArea.ValueMember   = "codigo";
                cboArea.DataSource    = Areas;
            }
        }