private void LlenaCombos() { //Combo Project Lead var data2 = InfoFieldBookBusiness.GetProjectLead(); cboProject.DisplayMember = "projectLead"; cboProject.ValueMember = "projectLead"; cboProject.DataSource = data2; //Combo Anio var anios = InfoFieldBookBusiness.GetAnio(); cboAnio.DisplayMember = "anio"; cboAnio.ValueMember = "anio"; cboAnio.DataSource = anios; }
private void LlenaComboBox() { //Combo Ship To var data = InfoShippingBusiness.GetAll(); cboShipTo.DisplayMember = "shipTo"; cboShipTo.ValueMember = "shipTo"; cboShipTo.DataSource = data; //Combo Project Lead var data2 = InfoFieldBookBusiness.GetProjectLead(); cboProject.DisplayMember = "projectLead"; cboProject.ValueMember = "projectLead"; cboProject.DataSource = data2; //Combo Emails var emails = EmailBusiness.GetEmails(); cboEmail.DisplayMember = "EmailUsado"; cboEmail.ValueMember = "Id"; cboEmail.DataSource = emails; //Combo Anio var anios = InfoFieldBookBusiness.GetAnio(); cboAnio.DisplayMember = "anio"; cboAnio.ValueMember = "anio"; cboAnio.DataSource = anios; //Combo CC var ccs = InfoFieldBookBusiness.GetCC(); cboCC.DisplayMember = "cc"; cboCC.ValueMember = "cc"; cboCC.DataSource = ccs; //Combo ExpName var expNames = InfoFieldBookBusiness.GetExpName(); cboExpName.DisplayMember = "expName"; cboExpName.ValueMember = "expName"; cboExpName.DataSource = expNames; }