I have datagrid in asp.net page. Also theer are filters and search button for grid. I have following possible option for coding
- Apply filters for grid inside stored procedure
- Fetch all data for grid and apply filters + search text using LINQ
- Fetch all data for grid in datatable and apply filter + search text as a datatable filters.
I am not able to decide which one is best way of coding. Also i am using 3 layer architecture and hence not able to decide which layed is best suitable to apply filters.
Please help?