Hello, I found a sample implementation for IBindingListView (.NET 2.0 interface with sopport for multi-column sorting and searching) in Brian Noyes' blog. I'd like to help integrating this but I really don't have the time now. Hope this helps to get this project going:
Unfortunately his implementation of IBindingListView.Filter is very simplistic (only handles a single criterion) and the System.Data.DataExpression class (used by DataView.RowFilter) is not public and tied in closely with DataSets.
Can anybody recommend an SQL like where clause parser that could be used in a much more complete implementation of filtering?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I found a sample implementation for IBindingListView (.NET 2.0 interface with sopport for multi-column sorting and searching) in Brian Noyes' blog. I'd like to help integrating this but I really don't have the time now. Hope this helps to get this project going:
http://www.softinsight.com/bnoyes/PermaLink.aspx?guid=70acabc4-8554-43cc-8511-c2f6a2827942
You can also read his book here:
http://book.itzero.com/read/microsoft/0602/Addison.Wesley.Data.Binding.with.Windows.Forms.2.0.Programming.Smart.Client.Data.Applications.with.dot.NET.Jan.2006_html/
Unfortunately his implementation of IBindingListView.Filter is very simplistic (only handles a single criterion) and the System.Data.DataExpression class (used by DataView.RowFilter) is not public and tied in closely with DataSets.
Can anybody recommend an SQL like where clause parser that could be used in a much more complete implementation of filtering?
Well you could always look at the NHibernate parsing code