.net - User defined filter for linq -
I have user-defined filters (combobox with the combobox, filter type and value box with the name of the box). .
How can I dynamically add user-defined filters in the LINQ query?
The general question looks like this:
var qProducts = p to db.Products where p. IARChive == p. Select the wrong order of productive name P; I am using LINQ (IQuerable Toolkit) for access data in SQL CE database.
You might want to see them, then you can do something like this:
< Pre> var qProducts = db.Products Where ("IsArchived = {0}", collection filter value). Order buy (sortable + sort direction);
Comments
Post a Comment