逍遥论坛

标题: 车厢上的站牌 [打印本页]

作者: 小小快乐的朋友    时间: 2013-8-26 17:38
标题: 车厢上的站牌
我找到了如何生成车厢的网址了
http://scat.net.cn/scatrailway/shuipai/shuipai.aspx?text=齐齐哈尔|沈阳|QIQIHAER|SHENYANG|特|快|T310/T309color=DarkBIUE&width=1000
在text=后写 始发站|终点站|始发大写全拼|终到大写全拼|车|种车次
即可

作者: 银电光波    时间: 2013-8-26 17:54
显示:网页错误啊

作者: 豆糕    时间: 2013-8-26 18:43
Server Error in '/SCatRailway/shuipai' Application.
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

Line 33:         int width = 960;Line 34:         if (Request.Params["width"] != null)Line 35:             width = Convert.ToInt32(Request.Params["width"].ToString());Line 36: Line 37:         try

Source File: e:\scat\wwwroot\SCatRailway\shuipai\shuipai.aspx.cs    Line: 35

Stack Trace:

[FormatException: Input string was not in a correct format.]   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +9586731   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119   System.Convert.ToInt32(String value) +48   shuipai_shuipai.Page_Load(Object sender, EventArgs e) in e:\scat\wwwroot\SCatRailway\shuipai\shuipai.aspx.cs:35   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35   System.Web.UI.Control.OnLoad(EventArgs e) +91   System.Web.UI.Control.LoadRecursive() +74   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272



作者: 豆糕    时间: 2013-8-26 18:44
e:\scat\wwwroot\SCatRailway\shuipai\ 直接爆路径了..

作者: 牵着你的左手    时间: 2013-8-26 20:03
网页有问题





欢迎光临 逍遥论坛 (https://www.xyyao.com/) Powered by Discuz! X3.2