p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   General .NET (http://p2p.wrox.com/general-net-122/)
-   -   syntax for Like statement (http://p2p.wrox.com/general-net/98658-syntax-like-statement.html)

melkin February 24th, 2016 01:42 PM

syntax for Like statement
 
Hi All.
I am having trouble getting syntax right for my MySQL like statement.
I need the like statement to check against the request.querystring.

If I manually paste in the actual querystring name it works... but if I want to have dynamic data here it doesnt...

my current syntax:
WHERE (prodis LIKE '%'#Request("prodis")'%')

doesnt work. I tried so many othes ways!

I am using asp:SqlDataSource


All times are GMT -4. The time now is 10:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.