/// <summary> /// Function to delete particular details based on the parameter /// </summary> /// <param name="VoucherTypeId"></param> public void VoucherTypeDelete(decimal VoucherTypeId) { try { spVoucherType.VoucherTypeDelete(VoucherTypeId); } catch (Exception ex) { MessageBox.Show("VT21:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }