/// <summary> /// Function to fill the productgroup combobox /// </summary> public void ProductGroupComboFill() { try { DataTable dtbl = TransactionGenericFillObj.ProductGroupViewAll(cmbProductGroup, true); } catch (Exception ex) { formMDI.infoError.ErrorString = "RPL3:" + ex.Message; } }
/// <summary> /// Function to fill the productgroup combobox /// </summary> public void ProductGroupComboFill() { try { dtbl = TrGeneralFill.ProductGroupViewAll(cmbProductGroup, true); } catch (Exception ex) { formMDI.infoError.ErrorString = "PR2:" + ex.Message; } }
/// <summary> /// Product combobox fill /// </summary> public void productComboFill() { try { DataTable dtbl = TransactionsGeneralFillObj.ProductGroupViewAll(cmbProductGroup, true); cmbProductGroup.DataSource = dtbl; cmbProductGroup.DisplayMember = "groupName"; cmbProductGroup.ValueMember = "groupId"; } catch (Exception ex) { formMDI.infoError.ErrorString = "FSR5:" + ex.Message; } }