Line 1: Incorrect syntax near '='.
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.OleDb.OleDbException: Line 1: Incorrect syntax near '='.
Source Error:
Line 103: Dim DSEvent As New System.Data.Dataset
Line 104: DBCommand = New OleDbDataAdapter("SELECT ezEvent.* FROM ezEvent Where eventID = " & request("eventID"),DBConn)
Line 105: DBCommand.Fill(DSEvent, "MyEvent")
Line 106: Dim dFrom As Date = CDate(DSEvent.Tables("MyEvent").Rows(0).Item("SchFrom"))
Line 107: Dim dTo As Date = CDate(DSEvent.Tables("MyEvent").Rows(0).Item("SchTo"))
|
Source File: E:\lpls_2009\calendar2.aspx ?? Line: 105
Stack Trace:
[OleDbException (0x80040e14): Line 1: Incorrect syntax near '='.]
System.Data.OleDb.OleDbDataReader.ProcessResults(Int32 hr) +63
System.Data.OleDb.OleDbDataReader.NextResult() +286
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +269
System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +69
System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +5
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
ASP.calendar2_aspx.BindEvent() in E:\lpls_2009\calendar2.aspx:105
ASP.calendar2_aspx.Page_Load(Object sender, EventArgs e) in E:\lpls_2009\calendar2.aspx:80
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
|
Version Information:?Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
Source: http://www.lorainpubliclibrary.com/calendar2.aspx?PID=5&EventID=20145
water for elephants old school nick swisher jaco san jose sharks humber perfect game ufc 145 fight card
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.