'/' 應用程式中發生伺服器錯誤。

輸入字串格式不正確。

描述: 在執行目前 Web 要求的過程中發生未處理的例外狀況。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外狀況詳細資訊: System.FormatException: 輸入字串格式不正確。

原始程式錯誤:


行 173:        Header.Controls.Add(tag)
行 174:        '紅利顯示
行 175:        If CType(Me.FindControl("red"), Label).Text = 0 Then
行 176:            CType(Me.FindControl("Label1"), Label).Visible = False
行 177:

原始程式檔: E:\rwd88\lin\product.aspx.vb    行: 175

堆疊追蹤:


[FormatException: 輸入字串格式不正確。]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +213
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +81

[InvalidCastException: 從字串 "" 至類型 'Double' 的轉換是無效的。]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +198
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value) +11
   _Default.Page_Load(Object sender, EventArgs e) in E:\rwd88\lin\product.aspx.vb:175
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.4087.0