Example #1
0
        private void CancelBranchTransfer()
        {
            long   BranchTransferID = Convert.ToInt64(lblBranchTransferID.Text);
            string Remarks          = txtRemarks.Text;

            BranchTransfer clsBranchTransfer = new BranchTransfer();

            clsBranchTransfer.Cancel(BranchTransferID, DateTime.Now, Remarks, Convert.ToInt64(Session["UID"].ToString()));
            clsBranchTransfer.CommitAndDispose();

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