Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2007

Tip: Looking for answers? Try searching our database.

BindingSource.Find Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alexander Loose - 08 Oct 2007 10:26 GMT
Hello,

I am using the BindingSource.Find-Methode to find an Item in my
BindingSource. This works fine to find the exact pattern, but now I
search for a fuzzy  finding method.

For example:

XXX34234234
DDD4324543
HAM5454545
MUC6456566

I want to do a fuzzy search for "HAM" .

therefore I sort the bindingsource and the I perform the
BindingSource.Find Method.
I also tried it with * or % patterns.

Does anyone know a way to do fuzzy/unexact find/search operations in a
BindingSource

Best regards from Germany

Alexander Loose
Terry - 08 Oct 2007 19:56 GMT
Unfortunatley, there is nothing like the old 'seek' method.  So, depending on
how many records are in your source, either linear search for the first '>='
or code a binary search.  Also, I would sugest using the underlying
'DataView' to do the search.
Signature

Terry

> Hello,
>
[quoted text clipped - 21 lines]
>
> Alexander Loose

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.