请求超时错误 [英] Request Timeout error

查看:138
本文介绍了请求超时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Web应用程序,其中在特定持续时间中出现的所有学生的按钮点击详细信息显示在gridview中。这里,如果持续时间较短,即一天或一周,则显示网格视图,但如果我持续一个月或更长时间,则浏览器中的应用程序继续运行,并且在一段时间后浏览器不响应msg被显示。我是否需要对配置进行一些更改才能显示大量数据?

i have created a web application where on button click details of all the students present in particular time duration is displayed in a gridview. Here if the duration is less i.e a day or a week the gridview is displayed but if i take the duration of a month or more than that the application in the browser keeps on running and after some time browser not responding msg is shown. Do i need to make some changes in configuration to display a large bulk of data?

推荐答案

这是因为在浏览器中加载数据需要花费太多时间。浏览器并不意味着显示如此大量的数据。您可以做什么,在网格中加载前100条记录,然后在下一页上点击加载另一条数据。



尝试找到一个可以加载数据的解决方案需求,意味着当你点击下一个/上一个然后它应该加载数据。但只有在你想要显示如此大的数据的情况下才建议这样做。
That is because it is taking too much time to load the data in the browser. The browser is not meant to display to such large amount of data. What you can do instead, load first 100 records display in the Grid and on next Page click load another data.

Try to find a solution which will load the data on demand, means when you click on next/previous then it should load the data. But this is suggested only in case you want to display such large data.


加载用户所需的任何数据。根据praveen建议,在初始时只加载少量数据。



您可以使用分页和多线程。



没有人会看到大量的gridview中的数据。只需加载用户所需的任何内容或提供搜索功能。



如果在gridview中加载数百万条记录,它甚至会降低性能您的申请。
Load data whatever required for the user.As per praveen suggestion,just load only few amount of data at the initial time.

You can use Pagination & Multi threading.

No one is going to look huge amount of data in a gridview.Just load whatever required for the user or give a search functionality.

If you load millions of records in a gridview,It will even decrese the performance of your application.


这篇关于请求超时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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