/// <summary>
 /// UnitComboFill
 /// </summary>
 public void UnitComboFill1(decimal decproductId, int inRow, int inColumn)
 {
     try
     {
         UnitBll bllUnit = new UnitBll();
         List<DataTable> ListObj = new List<DataTable>();
         ListObj = bllUnit.UnitViewAllByProductId(decproductId);
         DataGridViewComboBoxCell dgvcmbUnitCell = (DataGridViewComboBoxCell)dgvProduct.Rows[inRow].Cells[inColumn];
         dgvcmbUnitCell.DataSource = ListObj[0];
         dgvcmbUnitCell.DisplayMember = "unitName";
         dgvcmbUnitCell.ValueMember = "unitId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("DN33:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// Function to use the Unit Combo Fill
 /// </summary>
 public void UnitComboFill()
 {
     try
     {
         UnitBll bllUnit = new UnitBll();
         List<DataTable> ListObj = new List<DataTable>();
         ListObj = bllUnit.UnitViewAllByProductId(decProductId); ;
         cmbUnit.DataSource = ListObj[0];
         cmbUnit.ValueMember = "unitId";
         cmbUnit.DisplayMember = "unitName";
     }
     catch (Exception ex)
     {
         MessageBox.Show("POS:12" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }