2017镇泰工业园招聘:为什么我的Requset接收到的值只有一部分
来源:百度文库 编辑:高校问答 时间:2024/05/07 02:53:32
例如我使用了,<a href=look.aspx?fr=木头人>木头人</a>,在look.aspx页面,我使用string un=Request["fr"];或string un=Request.QueryString["fr"];结果都是:un=木头,而不是un=木头人;为什么?
request好象只接受表单提交的数据吧.
你尝试一下把那个链接的 “木头人” 转换为英文字符