Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan&"YearTime="+YearTime_&"MonthTime="+MonthTime_); 到底哪里写错啦,我都要哭死了,countPlan、YearTime_、MonthTime_都是变量 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan+"YearTime="+YearTime_+"MonthTime="+MonthTime_); Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan+"YearTime="+YearTime_+"MonthTime="+MonthTime_); Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan.ToString()+"YearTime="+YearTime_.ToString()+"MonthTime="+MonthTime_.ToString()); Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan+"&YearTime="+YearTime_+"&MonthTime="+MonthTime_); 不知道你的这些变量是什么数据类型,现在我帮你改的都是string型的Response.Redirect("UpSecondCatial.aspx?countPlan='"+countPlan+"'&YearTime='"+YearTime_+"'&MonthTime='"+MonthTime_+"'); Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan+"&YearTime="+YearTime_+"&MonthTime="+MonthTime_); 这样写不对,传到另外一个页面string countPlan_ = Request.QueryString["countPlan"].ToString();编译后countPlan_="344YearTime=2006MonthTime=4" 编译后countPlan_="344YearTime=2006MonthTime=4"————————————————因为少了&Response.Redirect("UpSecondCatial.aspx?countPlan=" + countPlan + "&YearTime=" + YearTime + "&MonthTime=" + MonthTime );另外楼主要注意自己用的是什么变量类型 Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan+"&YearTime="+YearTime_+"&MonthTime="+MonthTime_);在试 Response.Redirect("UpSecondCatial.aspx?countPlan="+countPlan.ToString()+"&YearTime="+YearTime_.ToString()+"&MonthTime="+MonthTime_.ToString()+""); aspx问题。。。帮个忙啊 大家帮忙看看listbox绑定数据库 哪出错了? 有关登录控件中的ChangePassword控件的问题? 会员有100多万,用membership开发的会员管理系统性能是否有问题? asp.net2.0网站,用.net自带treeview控件的网页发布后出错 请问如下代码,那里出错?HELP 请问大家在开发系统的时候是使用什么来做页面的。 有关数据库的连接类的编写?? 为什么用Visual Studio 做的网站一定要在根目录下或站点下??? 解释一下ASP.net的代码 程序装在另一台机子为什么会出错? 请问大家听说过北京金航数码科技公司吗?
Response.Redirect("UpSecondCatial.aspx?countPlan='"+countPlan+"'&YearTime='"+YearTime_+"'&MonthTime='"+MonthTime_+"');
string countPlan_ = Request.QueryString["countPlan"].ToString();
编译后
countPlan_="344YearTime=2006MonthTime=4"
countPlan_="344YearTime=2006MonthTime=4"
————————————————
因为少了&
Response.Redirect("UpSecondCatial.aspx?countPlan=" + countPlan + "&YearTime=" + YearTime + "&MonthTime=" + MonthTime );
另外楼主要注意自己用的是什么变量类型
在试