首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

参数传递的有关问题.

2011-12-19 
参数传递的问题......this.Response.Write( script window.open( search_result.aspx?sex +sex_d+

参数传递的问题......
this.Response.Write( " <script> window.open( 'search_result.aspx?sex= "+sex_d+ "&&age_a= "+age_a_d+ "&&age_b= "+age_b_d+ "&&pic= "+pic_d+ "&&xueli= "+xueli_d+ " ', '_blank ') </script> ");

设置断点,查看递交的数据时,
为什么sex= "? ",其他的数据传递都正确..

[解决办法]
你的sex 的值是不是中文?
[解决办法]
sex_d值里面有空格。先去掉空格。再编码后进行传递

热点排行