/// <summary>
 /// Productgroup combobox fill
 /// </summary>
 public void ProductGroupComboFill()
 {
     try
     {
         TransactionsGeneralFillObj.ProductGroupViewAll(cmbProductGroup, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show(" PVSBR:4" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
示例#2
0
 public void ProductGroupComboFill()
 {
     try
     {
         List <DataTable> listObj = new List <DataTable>();
         listObj = TransactionsGeneralFillObj.ProductGroupViewAll(cmbProductGroup, true);
         cmbProductGroup.DataSource    = listObj[0];
         cmbProductGroup.DisplayMember = "groupName";
         cmbProductGroup.ValueMember   = "groupId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PS02:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }