//Driver = Driver.Substring(0, Driver.Length - 1);//截取字符串
Driver = Server.UrlEncode(Driver);//URL中文转码,Driver为中文
Response.Write("<script>window.open('http://.....:8075/WebReport/ReportServer?reportlet=driver_salary_detail.cpt&op=view&StartDate=" + from_date.Value + "&EndDate=" + to_date.Value + "&CarDriver=" + Driver + "' );</script>");//跳转报表页面
转载于:https://www.cnblogs.com/lzlbk/p/7261339.html