User Profile
Collapse
-
i am Indeed using an ms access database but using the % wildcard sign worked for me , but thanks for your reply, appreciated. -
SOLVED
string OleDb = "SELECT Nom,Auteur,Date Edition FROM Livres WHERE Nom Like '%"+txtfind.Tex t+"%'";Leave a comment:
-
Like Operator Problem
I am writing code to search for books where some string is within the book's name
it works fine when i set the search parameter to the whole name of the book but when i use the % sign wildcard no results seem to generate
this is my code :
...Code:OleDbConnection myConn = null; string ConnString = @"Provider=Microsoft.Jet.OLEDB.4.0;User Id=;Password=;Data Source=Library.mdb"; myConn = new
No activity results to display
Show More
Leave a comment: