protected void GetCarros()
        {
            carros = new z_carros();
            ddlCarrosBitacoraExp.DisplayMember = "nombre";
            ddlCarrosBitacoraExp.ValueMember   = "id_carro";
            ddlCarrosBitacoraExp.DataSource    = carros.GetCarros().Tables[0];

            ddl2.DisplayMember = "nombre";
            ddl2.ValueMember   = "id_carro";
            ddl2.DataSource    = carros.GetCarros().Tables[0];
        }
Exemple #2
0
 protected void GetCarros()
 {
     cmbx_carro.DisplayMember = "nombre";
     cmbx_carro.ValueMember   = "id_carro";
     cmbx_carro.DataSource    = carros.GetCarros().Tables[0];
 }