Example #1
0
        private void CancelTransferOut()
        {
            long TransferOutID = Convert.ToInt64(lblTransferOutID.Text);
            string Remarks = txtRemarks.Text;

            TransferOut clsTransferOut = new TransferOut();
            clsTransferOut.Cancel(TransferOutID, DateTime.Now, Remarks, Convert.ToInt64(Session["UID"].ToString()));
            clsTransferOut.CommitAndDispose();

            Response.Redirect("Default.aspx?task=" + Common.Encrypt("list", Session.SessionID));
        }