页面加载需要很长时间 [英] Page loading is taking long
本文介绍了页面加载需要很长时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个网页,我在其中调用一个绑定数据库数据的方法。
I have a web page where I call a method that binds data from DB.
但这个绑定是因此需要很长时间才能加载,因此页面变得很慢。
But this binding is taking long to load hence page has become slow.
我尝试过使用异步方法,但没有成功。请帮我一个例子,或者是async mehtods或其他任何东西。
I have tried using async methods but did not successed. Pls help me with an example either async mehtods or anything else.
谢谢!
推荐答案
您应该发布有关如何缩短数据的帮助请求 - 获取程序。 如果您使用的是SQL Server,请在那里发布您的问题,并确保包含所有有用的信息: 表名,表结构,示例数据和用于获取数据的实际查询
。
You should post a help request on how to shorten the data-fetching procedure. If you are using SQL Server, post your question there and make sure you include all useful information: Table names, table structures, sample data and actual query being used to fetch the data.
这篇关于页面加载需要很长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文