Conversion parameters through the URL in ASP.NET Get garbled solution

xiaoxiao2021-03-06  71

Write the ASP.NET program yesterday, in which parameters were passed on the GET method, such as http: //127.0.0.1/showerror, theaSP? ErrorMessage = Database error

I use: string errorMessage = request.QueryString ["ErrorMessage"]; response.write (ErrorMessage);

The result is a blank, I modified the Meta section of the ASPX file, change the character set to GB2312, and garbled on the results page.

Later, I found it on 9CBS, I found that as long as the

Change to

Yes.

转载请注明原文地址:https://www.9cbs.com/read-92709.html

New Post(0)