Server Error in '/' Application.

Conversion failed when converting the varchar value 'product' to data type 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.Data.SqlClient.SqlException: Conversion failed when converting the varchar value 'product' to data type int.

Source Error:


Line 440:        catch (Exception ex)
Line 441:        {
Line 442:            throw ex;
Line 443:        }
Line 444:        finally

Source File: e:\Web\partyunlimitedrental.com\www\App_Code\general.cs    Line: 442

Stack Trace:


[SqlException (0x80131904): Conversion failed when converting the varchar value 'product' to data type int.]
   general.FillDataSet(String SQ) in e:\Web\partyunlimitedrental.com\www\App_Code\general.cs:442
   login.Page_Load(Object sender, EventArgs e) in e:\Web\partyunlimitedrental.com\www\product-category-list.aspx.cs:84
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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