Hi,
I'm using a dataset to manage an access db... How can I search for values inside that db
How can I do this kind of search, example:
[Table]
Name
John Lewis Stewart
If the user writes 'John' or 'John Lewis' or 'John Stewart', I want to get the record 'John Lewis Stewart'...
Any help
Thanks

searching access db...
Magesh20355
You mean search within the dataset or within the database I think you mean the dataset....
The easiest way is to create a DataView based on the DataTable in the data set. A data view lets you set row filters, then you can access whatever rows pass the filter. The issue is going to be whether the filter is flexible enough for what you want to do.
Don
simonmango
you also can make a search to the database like this way:
Dim sqlCommand1 As String
sqlCommand1 = "Select * from Adressen where " & strgSearchParam & " Like '" & strgSearchString & "%'"
*** the % is a placeholder for the unknown parameters
*** You have to replace strgSearchParam & strgSearchString with your varibles
hope that help a bit :-)
mfg
sheimann