Server Error in '/crafts' Application.

Syntax error (missing operator) in query expression 'u_id='.

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: Syntax error (missing operator) in query expression 'u_id='.

Source Error:


Line 88: sqlU="select * from tblUser where u_id="& u_id &""
Line 89: dbcomm = New OleDbCommand(sqlU,dbconn)
Line 90: rsU=dbcomm.ExecuteReader()
Line 91: if rsU.Read() then
Line 92: 	nameU=rsU("name")

Source File: D:\website\webindia123\map.craft\membercrafts.aspx    Line: 90

Stack Trace:


[OleDbException (0x80040e14): Syntax error (missing operator) in query expression 'u_id='.]
   Microsoft.VisualBasic.CompilerServices.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) +187
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +300
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +1303128
   ASP.membercrafts_aspx.Page_Load() in D:\website\webindia123\map.craft\membercrafts.aspx:90
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +9850746
   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.4676.0