Increasing page performance in asp.net c# -


i have gridview 21000 record , fetching db using stored procedures. initialy when click on page web application takes time load page. have dropdown filters in page , when dropdown value selected takes time load data. use linq query filter dropdown values.

how can increase performance of page.

you in luck. there wrong scenario have lots of opportunity improve.

you need break down problem manageable chunks.

  1. analyze stored procedure performance. how long taking return 21,000 records?
  2. is filtering happening on web server instead of in database query? add overhead.
  3. even if web browser receives web page instantly, cannot render 21,000 records in reasonable timeframe. large grids add lot of overhead page rendering time.

probably best bet page convert use paging , display somewhere between 10 , 100 records on screen @ once. query should have filters in , fetch page of information user see.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -