Response.Redirect( "UploadPicture.aspx?strVehicleID= "+VehicleId);//跳转时带的植
strVehicleID==Request.QueryString[ "strVehicleID "];//打开的页面
在获取值时出错描述:
只有assignment,call,increment,decrement和new 对象表达式可用作语句
这是什么问题,有时候有,有时候无缘无故又好了
------解决方案--------------------------------------------------------
strVehicleID=Request.QueryString[ "strVehicleID "]
多写了1个=
------解决方案--------------------------------------------------------
Response.Redirect( "UploadPicture.aspx?strVehicleID= "+VehicleId);//
改为
Response.Redirect( "UploadPicture.aspx?strVehicleID= "+Server.UrlEncode(VehicleId));//
试一下