在页面加载过程中花费更多时间 [英] Reg more time taking during page load

查看:91
本文介绍了在页面加载过程中花费更多时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的表中有成千上万的数据...如果我将ali的值提取到我的网站,则需要花费更多的时间来加载所有数据...因此性能变得非常慢....
如何减少页面加载时间,以便它应该从数据库快速获取数据...

I have thousands of data in my table...If i fetch ali the values to my website, it takes more time to load all the datas...So the performance becomes very slow....
how to reduce the page load time so that it should fetch the datas fastly from the database...

推荐答案

通过以下最佳做法链接:
http://www.dotnetfunda.com/articles/article45.aspx [针对高性能应用的ASP.NET最佳做法 [ ^ ]
改善ASP.NET Web应用程序性能的最佳做法 [ ^ ]

对于大量数据,您可以查看以下CP中的文章:
在具有搜索功能的GridView中显示大量数据 [ ^ ]
Go through following best practices links:
http://www.dotnetfunda.com/articles/article45.aspx[^]
ASP.NET Best Practices for High Performance Applications[^]
Best Practices to Improve ASP.NET Web Application Performance[^]

For large amount of data, you can have a look at below article in CP:
Display Large Amount of Data in GridView with Search Functionality[^]




如果您使用gridview显示数据,请按照以下步骤操作,

1)将分页添加到您的gridview.
2)依靠使用行号
分页获取数据 3)使用页面级缓存.

这主要步骤将提高页面加载速度.

或者您也可以点击vani kulkarni中给出的链接.

谢谢
-Amit
Hi,

if you are using gridview to show your data proceed following steps,

1) add paging to your gridview.
2) depend upon paging fetch data using Row_Number
3) use pagelevel caching.

this primary steps will increase speed to load of your page.

or you can also follow links given in vani kulkarni.

thanks
-Amit


这篇关于在页面加载过程中花费更多时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆