private void LlenarComboUnidad() { try { P.Idproducto = Convert.ToInt32(Program.Idproduct); cbUnidad.DataSource = P.ObtenerUnidadesProducto(); cbUnidad.DisplayMember = "abrev"; cbUnidad.ValueMember = "id_unidad"; } catch (Exception ex) { MessageBoxEx.Show(ex.Message); } }