在页面加载过程中花费更多时间

编程入门 行业动态 更新时间:2024-10-23 23:32:10
本文介绍了在页面加载过程中花费更多时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的表中有成千上万的数据...如果我将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...

推荐答案

通过以下最佳做法链接: www.dotnetfunda/articles/article45.aspx [ ^ ] 针对高性能应用的ASP.NET最佳做法 [ ^ ] 改善ASP.NET Web应用程序性能的最佳做法 [ ^ ] 对于大量数据,您可以查看以下CP中的文章: 在具有搜索功能的GridView中显示大量数据 [ ^ ] Go through following best practices links: www.dotnetfunda/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

更多推荐

在页面加载过程中花费更多时间

本文发布于:2023-11-26 20:08:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1635009.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:过程中   加载   页面   时间   更多

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!