Conversion failed when converting the varchar value ‘u0026-Marketing-Limited-as-Oversold’ to data type int.
Conversion failed when converting the varchar value ‘u0026-Marketing-Limited-as-Oversold’ 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 ‘u0026-Marketing-Limited-as-Oversold’ to data type int.
Source Error:
Line 119: {
Line 120: string retVal = string.Empty; if (strID != "")
Line 121: { retVal = DBOperations.getDetails("Select SubCategoryName from SubCategory where SubCategoryid='" + strID + "'"); }
Line 122: return retVal;
Line 123: }
|
Source File: c:\HostingSpaces\admin\bollywoodhelpline.com\wwwroot\App_Code\Webxces_Static.cs Line: 121
Stack Trace:
[SqlException (0x80131904): Conversion failed when converting the varchar value 'u0026-Marketing-Limited-as-Oversold' to data type int.]
Webxces_Lib.DBOperations.getDetails(String SqlQuery) in E:\ASP_NET\WXLibraries\4.0\Webxces_Lib\DBOperations.cs:110
Webxces_Static.getSubCategoryName(String strID) in c:\HostingSpaces\admin\bollywoodhelpline.com\wwwroot\App_Code\Webxces_Static.cs:121
_Photo.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\admin\bollywoodhelpline.com\wwwroot\video.aspx.cs:23
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.4797.0
Source link