/// <summary> /// Function for Delete Rows From tbl_unitConvertion /// </summary> public void RemoveMulUnit() { try { UnitConvertionSP spunitConvertion = new UnitConvertionSP(); int inC = 0; while (strArrOfRemoveForMulUnit[inC] != null) { decimal decId = Convert.ToDecimal(strArrOfRemoveForMulUnit[inC]); spunitConvertion.MulUnitRemoveRows(decId); inC++; } } catch (Exception ex) { MessageBox.Show("PC:75" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }