/// <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);

                    StockPostingSP spStockPosting = new StockPostingSP();
                    isRowRemoved = spStockPosting.StpDeleteForRowRemove(decDeleteId);
                }
                foreach (var strBatchId in lstArrOfRemoveFromBatchTable)
                {
                    decimal decDeleteId = Convert.ToDecimal(strBatchId);
                    BatchSP spBatch = new BatchSP();
                    spBatch.BatchDelete(decDeleteId);
                }
                foreach (var strStockPostingId in lstArrOfRemoveFromStockPosting)
                {
                    decimal decDeleteId = Convert.ToDecimal(strStockPostingId);

                    StockPostingSP spStockPosting = new StockPostingSP();
                    isRowRemoved = spStockPosting.StpDeleteForRowRemove(decDeleteId);
                }
                foreach (var strBatchRemoveId in lststrArrBatchRemove)
                {
                    decimal decDeleteId = Convert.ToDecimal(strBatchRemoveId);
                    BatchSP spBatch = new BatchSP();
                    spBatch.BatchDelete(decDeleteId);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("PC:68" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }

        }