/// <summary> /// Function to fill brand combobox /// </summary> public void BrandComboFill() { try { dtbl = TrGeneralFill.BrandViewAll(cmbBrand, true); } catch (Exception ex) { formMDI.infoError.ErrorString = "PR5:" + ex.Message; } }
/// <summary> /// Function to fill brand combobox /// </summary> public void BrandComboFill() { try { dtbl = TrGeneralFill.BrandViewAll(cmbBrand, true); } catch (Exception ex) { MessageBox.Show("PR5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill Brand Combobox /// </summary> public void BrandComboFill() { try { DataTable dtbl = TransactionsGeneralFillObj.BrandViewAll(cmbBrand, true); cmbBrand.DataSource = dtbl; cmbBrand.DisplayMember = "brandName"; cmbBrand.ValueMember = "brandId"; } catch (Exception ex) { formMDI.infoError.ErrorString = "PS3:" + ex.Message; } }
/// <summary> /// Function to fill Brand Combobox /// </summary> public void BrandComboFill() { try { DataTable dtbl = TransactionsGeneralFillObj.BrandViewAll(cmbBrand, true); cmbBrand.DataSource = dtbl; cmbBrand.DisplayMember = "brandName"; cmbBrand.ValueMember = "brandId"; } catch (Exception ex) { MessageBox.Show("PS03:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }