예제 #1
0
 /// <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;
     }
 }
예제 #2
0
 /// <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;
     }
 }
예제 #3
0
 /// <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;
     }
 }