.net2003自动加“amp;”,烦啊~
我原来打算在写成:
<A href='../difference/QuerySameNameDiffPortal.aspx?inq_year_1=<%=Request.QueryString["inq_year_1"]%>&inq_month_1=<%=Request.QueryString["inq_month_1"]%>&inq_date_1=<%=Request.QueryString["inq_date_1"]%>&inq_year_2=<%=Request.QueryString["inq_year_2"]%>&inq_month_2=<%=Request.QueryString["inq_month_2"]%>&inq_date_2=<%=Request.QueryString["inq_date_2"]%>&customcode=<%=Request.QueryString["customcode"]%>&type=<%=Request.QueryString["type"]%>' >
不过只要在。NET的解决方案管理器里再次打开这个WEB FORM就会自动在我的>& 改成>&,
成这样了
<A href='../difference/QuerySameNameDiffPortal.aspx?inq_year_1=<%=Request.QueryString["inq_year_1"]%>&inq_month_1=<%=Request.QueryString["inq_month_1"]%>&inq_date_1=<%=Request.QueryString["inq_date_1"]%>&inq_year_2=<%=Request.QueryString["inq_year_2"]%>&inq_month_2=<%=Request.QueryString["inq_month_2"]%>&inq_date_2=<%=Request.QueryString["inq_date_2"]%>&customcode=<%=Request.QueryString["customcode"]%>&type=<%=Request.QueryString["type"]%>' >
这样我获得session的时候就会出现奇怪的字符,郁闷的,不想要微软大爷帮我改代码,我要自己写!哪位大哥告诉我怎么去掉这中自动修改代码,或者告诉我不这样写应该怎么写才不会出问题,谢谢了~