private void llenarFactores() { FactorBL factBL = new FactorBL(); cbFactores.DataSource = factBL.DTFactores(); cbFactores.DisplayMember = "nombre_factor"; cbFactores.ValueMember = "id_factor"; cbFactores.DropDownStyle = ComboBoxStyle.DropDownList; }
private void llenarFactores() { FactorBL factBL = new FactorBL(); cbFactores.DataSource = factBL.DTFactores(); cbFactores.DisplayMember = "nombre_factor"; cbFactores.ValueMember = "id_factor"; cbFactores.DropDownStyle = ComboBoxStyle.DropDownList; }