Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   ASP.NET (http://www.programmingforums.org/forum35.html)
-   -   Syntax error. in query expression (http://www.programmingforums.org/showthread.php?t=11731)

Iftikhar Oct 28th, 2006 11:45 AM

Syntax error. in query expression
 
Hi,

I am getting the error "Syntax error. in query expression 'control name'. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)" randomly. I am not able to figure out this after a lot of testing. Any help will be greatly appreciated.

DaWei Oct 28th, 2006 3:03 PM

You have a syntax error in your query (which you aren't showing, so we can't see).

Iftikhar Oct 28th, 2006 5:26 PM

I mentioned randomly, means that some time it do give error and some time it do not for the same selection. If there is a syntax error then every time it should give error.

DaWei Oct 28th, 2006 6:12 PM

Okay. Good luck. Perhaps it only happens when you're in the wrong mood.

Iftikhar Oct 28th, 2006 7:14 PM

:) Nice, I will look into matter from this angle also.


All times are GMT -5. The time now is 1:00 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC