Server Error in '/' Application.

參數化查詢 '(@CatID nvarchar(4000))SELECT *,(SELECT ImageName FROM Module_Im' 必須有參數 '@CatID',但未提供。

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: 參數化查詢 '(@CatID nvarchar(4000))SELECT *,(SELECT ImageName FROM Module_Im' 必須有參數 '@CatID',但未提供。

Source Error:


Line 331:                End Using
Line 332:            Catch ex As Exception
Line 333:                Throw ex
Line 334:            End Try
Line 335:

Source File: D:\WebFiles\96生命禮儀2022\Ct0003.aspx.vb    Line: 333

Stack Trace:


[SqlException (0x80131904): 參數化查詢 '(@CatID nvarchar(4000))SELECT *,(SELECT ImageName FROM Module_Im' 必須有參數 '@CatID',但未提供。]
   _Ct0003.Page_Load(Object sender, EventArgs e) in D:\WebFiles\96生命禮儀2022\Ct0003.aspx.vb:333
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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