UrlEncode is not encoding the + symbol and while decrypting Format Exception is coming up
问题 Let me explain the situation. In my code , I am encrypting the userid converted to string which is generated after a registration is done. The ecrypted string is passed as a url parameter as below. string ConfirmCode = string.Empty; Common.Secure.Security mySec = new Common.Secure.Security(); ConfirmCode = mySec.Encrypt(myMember.MemberID.ToString()); string EmailValidationLink = "<a href=\'" + pageScheme + "://" + CurrentDomain.HostName + "/Contents/Common/" + "EN" + "/" + CurrentDomain