Four JQUERY Grids on a single page needs almost same data.

Four JQUERY Grids on a single page needs almost same data.

 

Hello,

I have 4 JQUERY grids on a single page. They all need almost the same data.

I do not want to execute the LINQ queries multiple times for these grids as it will be an overhead on the database.

Lets say for example: my linq query brings back all the employess from the database.

Example: var employeeResultSet = from n in Employess select n.

Then in my grids I want something like below:

Grids A, I want to store the employess with age less then 20 yrs.

Grids B, I want to store the employess with age between 20-30 yrs.

Grids C, I want to store the employess with age between 40-50 yrs.

Grids D, I want to store the employess with age between 50-60 yrs.


I do not want to do a LINQ Query for all the JQUERY grids seperately.  I want to use the same result for all the grids.

How can I achieve this.

Thanks for help.