Server Error in '/' Application.

Error converting data type nvarchar to int.

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.Exception: Error converting data type nvarchar to int.

Source Error:


Line 71:             {
Line 72:                 dtRecords.Dispose();
Line 73:                 throw new Exception(ex.Message);
Line 74:             }
Line 75:             finally

Source File: c:\inetpub\vhosts\holdingwilley.com\httpdocs\App_Code\SQLQuery.cs    Line: 73

Stack Trace:


[Exception: Error converting data type nvarchar to int.]
   SQLQuery._GetDataTable(String SQL, CommandType Type, List`1 collection, SqlConnection connection, SqlTransaction SqlTrn) in c:\inetpub\vhosts\holdingwilley.com\httpdocs\App_Code\SQLQuery.cs:73
   SQLQuery.GetDataTableWithStoredProcedure(String StoredProcedureName, List`1 collection) in c:\inetpub\vhosts\holdingwilley.com\httpdocs\App_Code\SQLQuery.cs:127
   Public_UserQuizDetails.BindList() in c:\inetpub\vhosts\holdingwilley.com\httpdocs\Public\UserQuizDetails.aspx.cs:32
   Public_UserQuizDetails.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\holdingwilley.com\httpdocs\Public\UserQuizDetails.aspx.cs:22
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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