Server Error in '/' Application.

參數化查詢 '(@ClassID nvarchar(4000))SELECT * FROM Product_Class WHERE ID=@C' 必須有參數 '@ClassID',但未提供。

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.Data.SqlClient.SqlException: 參數化查詢 '(@ClassID nvarchar(4000))SELECT * FROM Product_Class WHERE ID=@C' 必須有參數 '@ClassID',但未提供。

Source Error:


Line 45:                 End Using
Line 46:             Catch ex As Exception
Line 47:                 Throw ex
Line 48:             End Try
Line 49: 

Source File: D:\WebFiles\AD磁磚美學館202005\Productkeyword.aspx.vb    Line: 47

Stack Trace:


[SqlException (0x80131904): 參數化查詢 '(@ClassID nvarchar(4000))SELECT * FROM Product_Class WHERE ID=@C' 必須有參數 '@ClassID',但未提供。]
   Productkeyword_List.Page_Load(Object sender, EventArgs e) in D:\WebFiles\AD磁磚美學館202005\Productkeyword.aspx.vb:47
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8955