一个页面向另一个页面传送中文参数时发生错误
Advertisement:
热门软件下载:
两个页面都已设<%@ page contenttype="text/html; charset=gb2312" %>
发送代码如下
sub search()
if trim( frmsearch.t1.value)="" then
msgbox "您还未填写查询条件请填写"
else
frmsearch.submit
end if
end sub
接受代码如下
string strsql=request.getparameter("t1");
估计错在读取参数时没有指定编码类型
推荐阅读
相关评论