protected void chkIsVatInclusive_CheckedChanged(object sender, EventArgs e) { try { long TransferOutID = long.Parse(lblTransferOutID.Text); TransferOut clsTransferOut = new TransferOut(); clsTransferOut.UpdateIsVatInclusive(TransferOutID, chkIsVatInclusive.Checked); TransferOutDetails clsTransferOutDetails = clsTransferOut.Details(TransferOutID); clsTransferOut.CommitAndDispose(); UpdateFooter(clsTransferOutDetails); } catch (Exception ex) { throw ex; } }