在url中传递gb2312格式的参数,会出现论文的情况,怎么解决呢?
在调用页面使用
string strWord = Server.UrlEncode(txtSearchWord.Text);
在被调用页面使用:
_word =Server.UrlDecode( Request.QueryString["word"]);

相关文章:

  • 2021-05-18
  • 2020-10-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-11-21
相关资源
相似解决方案