I have a drop down list that is used to filter data from a table. The drop down list has two items: with xx and without xx.
How do I construct a L2S query to filter a table?
An example SQL call is SELECT * FROM ProductionTasks WHERE Designation like '% xx %'
There is a controller named TaskDatabaseController.cs and the database with the ProductionTasks table is named MyDatabase.
I am not exactly sure what you have asked here.
If you need the
linqquery for above sql statement