Syntax Error

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Syntax Error
hungryhounduk
Hey Guys and gals

Image


I have an Syntax Error (End of Statement expected), I have been on to Msdn Help but cannot find a solution omg; I know this is something so stupid and just shows how Thick I am lmao; But can someone point me in the right direction...

Cheers

Chris
Image
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: Syntax Error
Shim
The SQL query should be inside a " "

For example : "SELECT * FROM Sales WHERE ClientID = @clientID"
Find my programs on Softpedia
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Re: Syntax Error
hungryhounduk
Hey Thanks Fella
That's sorted it out Great

Many Thanks = Respect

Chris
Image
3 posts Page 1 of 1
Return to “Coding Help & Support”