如何在ASP.NET中使用Progress Bar [英] How to use Progress Bar in ASP.NET
本文介绍了如何在ASP.NET中使用Progress Bar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
伙计我正在使用ASP.NET网络应用程序,
我在哪里插入一些记录sql-2008数据库使用存储过程,
我有一个Insertion按钮,如:btnInsert。
插入时需要几秒钟插入bcoz有100个记录n然后重定向到页面。
在这个时间间隔内,我想使用ProgressBar。
任何人都可以帮助我,如何在此按钮上使用Progressbar来显示插入进度。
谢谢
Hi everyone,
guys I was working on ASP.NET web application,
where i'm inserting some records in the sql-2008 DB using Stored Procedures,
I have a button for Insertion, like : btnInsert.
While insertion its taking few seconds to insert bcoz there are 100's of records n then its redirect to the page.
In this interval, i want to use ProgressBar.
Can anyone plzzz help me, how to use Progressbar on this button to show insertion progress.
Thanks
推荐答案
使用asp:UpdatePanel
和asp:UpdateProgress
。
参见示例: http:// encosia。 com / easy-incremental-status-updates-for-long-requests / [ ^ ]
http://www.aspdotnet-suresh.com/2010/10/how-to-show-progressbar-during.html [ ^ ]
-KR
Useasp:UpdatePanel
andasp:UpdateProgress
for it.
See example : http://encosia.com/easy-incremental-status-updates-for-long-requests/[^]
http://www.aspdotnet-suresh.com/2010/10/how-to-show-progressbar-during.html[^]
-KR
参考
how-to-show-progressbar-during.html [ ^ ]
http://forums.asp.net/t/1656093.aspx [ ^ ]
这应该可以让您了解如何实现相同的
Refer
how-to-show-progressbar-during.html[^]
http://forums.asp.net/t/1656093.aspx[^]
This should give you idea how to implement the same
这篇关于如何在ASP.NET中使用Progress Bar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文