Exemplo n.º 1
0
        private void CancelWBranchTransfer()
        {
            long WBranchTransferID = Convert.ToInt64(lblWBranchTransferID.Text);
            string Remarks = txtRemarks.Text;

            WBranchTransfer clsWBranchTransfer = new WBranchTransfer();
            clsWBranchTransfer.Cancel(WBranchTransferID, DateTime.Now, Remarks, Convert.ToInt64(Session["UID"].ToString()));
            clsWBranchTransfer.CommitAndDispose();

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