private void CancelPO() { long POID = Convert.ToInt64(lblPOID.Text); string Remarks = txtRemarks.Text; PO clsPO = new PO(); clsPO.Cancel(POID, DateTime.Now, Remarks, Convert.ToInt64(Session["UID"].ToString())); clsPO.CommitAndDispose(); BackToPOList(); }