Server Error in '/' Application.

Error converting data type varchar to numeric.

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: Error converting data type varchar to numeric.

Source Error:


Line 206:        catch (Exception ex)
Line 207:        {
Line 208:            throw ex;
Line 209:        }
Line 210:        finally

Source File: c:\WEBSITES\DESKTOP\bollywoodtadka2015\App_Code\Datautility.cs    Line: 208

Stack Trace:


[SqlException (0x80131904): Error converting data type varchar to numeric.]
   Datautility.GetDataTable(String strsql) in c:\WEBSITES\DESKTOP\bollywoodtadka2015\App_Code\Datautility.cs:208
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in c:\WEBSITES\DESKTOP\bollywoodtadka2015\Global.asax:131
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +139
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


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