/// <summary>
 /// Function for Delete Rows From tbl_StockPosting Or tbl_Batch
 /// </summary>
 public void RemoveRows()
 {
     try
     {
         foreach (var strId in lstArrOfRemove)
         {
             decimal decDeleteId = Convert.ToDecimal(strId);
             StockPostingBll BllStockPosting = new StockPostingBll();
             isRowRemoved = BllStockPosting.StpDeleteForRowRemove(decDeleteId);
         }
         foreach (var strBatchId in lstArrOfRemoveFromBatchTable)
         {
             decimal decDeleteId = Convert.ToDecimal(strBatchId);
             BatchBll BllBatch = new BatchBll();
             BllBatch.BatchDelete(decDeleteId);
         }
         foreach (var strStockPostingId in lstArrOfRemoveFromStockPosting)
         {
             decimal decDeleteId = Convert.ToDecimal(strStockPostingId);
             StockPostingBll BllStockPosting = new StockPostingBll();
             isRowRemoved = BllStockPosting.StpDeleteForRowRemove(decDeleteId);
         }
         foreach (var strBatchRemoveId in lststrArrBatchRemove)
         {
             decimal decDeleteId = Convert.ToDecimal(strBatchRemoveId);
             BatchBll BllBatch = new BatchBll();
             BllBatch.BatchDelete(decDeleteId);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("PC:68" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }