R
Roshawn Dawson
Hi,
I have the following query written for MS Access:
PARAMETERS [Enter a keyword to search] Text ( 255 );
SELECT TOP 10 ISBN, Title
FROM Books
WHERE Keywords LIKE "*" & [Enter a keyword to search] & "*"
ORDER BY Title;
This query works as expected. Now, how do I write this query in VB.NET
for an OleDBCommand's text property? I tried this but it doesn't seem
to be working:
"Select Top 10 ISBN, Title FROM Books WHERE Keywords Like '*' & ? & '*'
ORDER BY Title ASC;"
Any thoughts?
Thanks,
Roshawn
I have the following query written for MS Access:
PARAMETERS [Enter a keyword to search] Text ( 255 );
SELECT TOP 10 ISBN, Title
FROM Books
WHERE Keywords LIKE "*" & [Enter a keyword to search] & "*"
ORDER BY Title;
This query works as expected. Now, how do I write this query in VB.NET
for an OleDBCommand's text property? I tried this but it doesn't seem
to be working:
"Select Top 10 ISBN, Title FROM Books WHERE Keywords Like '*' & ? & '*'
ORDER BY Title ASC;"
Any thoughts?
Thanks,
Roshawn