如何从数据库显示计数 [英] How To Show Count From Database
本文介绍了如何从数据库显示计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Friends,
im正在处理一个项目,该项目已经计入默认页面。我希望显示来自数据库的总计数。在设置的间隔数据应该被重新获取从数据库没有回发或referh page.i不能在这个页面中使用ajax。
任何budy对它都有任何想法。我可以这样做吗?
注意:ajax无法使用。
谢谢和问候
Hussain
Hello Friends ,
i m working on a project which have count on default page.i want to show total count from database.after a set interval data should be refetch from database without postback or refersh page.i cann't use ajax in this page.
any budy have any idea about it .how can i this task ??
Note : ajax can't use.
Thanks & regards
Hussain
推荐答案
将此代码放在您想要在一段时间后重新加载的页面的头部
Put this code in head of your page which you want to be reloaded after some time
<meta http-equiv="refresh" content="8" />
这将每8秒刷新一次页面。相应地处理你的代码。
问候......:)
This will refresh the page every 8 seconds. Handle your code accordingly.
Regards..:)
这篇关于如何从数据库显示计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文