/// <summary>
 /// Function to view the details of product
 /// </summary>
 /// <param name="decId"></param>
 public void view(decimal decId)
 {
     try
     {
         ProductCreationBll BllProductCreation = new ProductCreationBll();
         List<DataTable> listObj = BllProductCreation.ProductDetailsForProductSearch(decId);
         foreach (DataRow dr in listObj[0].Rows)
         {
             lblProductCode.Text = dr["productCode"].ToString();
             lblProductGroup.Text = dr["groupName"].ToString();
             lblProductName.Text = dr["productName"].ToString();
             lblBrand.Text = dr["brandName"].ToString();
             lblCurrentStock.Text = dr["Currentstock"].ToString();
             lblModelNo.Text = dr["modelNo"].ToString();
             lblSize.Text = dr["size"].ToString();
             lbltax.Text = dr["taxName"].ToString();
             lblUnit.Text = dr["unitName"].ToString();
             lblTaxApplicable.Text = dr["taxapplicableOn"].ToString();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("PD :01" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }