473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

BindingList(Of T) : Filter

Hi,

Im' using a custom list Inherited from BindingList(Of T). I would like to
add a Filter to be able to filter on different column values.

Offcourse this must exist already, and after some google-search I found 2
nice implementations:
- http://sourceforge.net/projects/blw/
-
http://www.teamjohnston.net/cs/blogs...a-ce75000aa327
Both solutions are using a View that is put on top of the BindingList.
Especially the second looks great, and is updated regularly.

Does anybody else knows some sample code for this? some nice
implementations? anybody used one of these 2? any feedback?

Thanks a lot in advance,
Pieter


Aug 14 '07 #1
2 3946
On Aug 14, 7:13 am, "Pieter" <pieterNOSPAMcou...@hotmail.comwrote:
Hi,

Im' using a custom list Inherited from BindingList(Of T). I would like to
add a Filter to be able to filter on different column values.

Offcourse this must exist already, and after some google-search I found 2
nice implementations:
-http://sourceforge.net/projects/blw/
-http://www.teamjohnston.net/cs/blogs/jesse/Default.aspx#ae1af67f6-fe7...
Both solutions are using a View that is put on top of the BindingList.
Especially the second looks great, and is updated regularly.

Does anybody else knows some sample code for this? some nice
implementations? anybody used one of these 2? any feedback?

Thanks a lot in advance,

Pieter
Your sample code should be downloadable from sourceforge as the
project is open source.

Thanks,

Seth Rowe

Aug 14 '07 #2
BindingSource and DataView support filtering through the IBindingListView
interface

--
Sheng Jiang
Microsoft MVP in VC++
"Pieter" <pi****************@hotmail.comwrote in message
news:eJ**************@TK2MSFTNGP04.phx.gbl...
Hi,

Im' using a custom list Inherited from BindingList(Of T). I would like to
add a Filter to be able to filter on different column values.

Offcourse this must exist already, and after some google-search I found 2
nice implementations:
- http://sourceforge.net/projects/blw/
-
http://www.teamjohnston.net/cs/blogs...a-ce75000aa327
Both solutions are using a View that is put on top of the BindingList.
Especially the second looks great, and is updated regularly.

Does anybody else knows some sample code for this? some nice
implementations? anybody used one of these 2? any feedback?

Thanks a lot in advance,
Pieter


Aug 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: guy | last post by:
VB2005 a generic collection that inherits from BindingList, with the code to support sorting added (ApplySortCore, SpportsSortingCore etc.) however when this collection is populated and bound...
3
by: Monty | last post by:
I've created an object (called cMyBindingList) that inherits from BindingList. I can serialize it and it's child items with no problem. However, I've also created a public variable in...
1
by: Pieter | last post by:
Hi, I use a customized Generic List (VB.NET 2.0) inherited from BindingList(Of T). I made some methods in this BindingList, to allow me to do some standard functions on the BindingList-Items....
6
by: jwilson128 | last post by:
I am trying to decide whether to use a system.ComponentModel.BindingList(of T) or a Sytem.Collections.Generic.List(of T) for a custom collection. In testing a simple, read-only data binding to a...
1
by: Rick | last post by:
VS.net 2005 I'm using a bindinglist(of T) to bind to various controls on a WinForm. I use the name/value pairs in the "type" for the displayMember and ValueMember of say a ComboBox control. ...
10
by: Rick | last post by:
VS 2005 I have a class of BindingList(of T) to use as a datasource for a lookup combobox. The combobox is to lookup the Terms for a Purchase Order. When I implement this on my Winform, the...
1
by: =?Utf-8?B?RWl0YW4=?= | last post by:
Hello, I have a ComboBox named comboBoxSelChannel. I declared a structure named MySturct. public struct MyStruct { public int Index; public string Name;
2
by: Pieter | last post by:
Hi, Im' using a custom list Inherited from BindingList(Of T). I would like to add a Filter to be able to filter on different column values. Offcourse this must exist already, and after some...
4
by: jehugaleahsa | last post by:
Hello: I want to know the best way to sort a BindingList without needed to turn it into a DataTable. Of course, my BindingList is being used indirectly by a BindingSource. So, how do I sort a...
2
by: Ste | last post by:
Good morning, I have a bindinglist of my custom objects and need to check, before adding items, if an item exists in list and then cancel inserting. I have tried to create an object that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.