如何在基于Web的应用程序中创建进度条&在Visual Studio 2013中使用C#而不是Winform [英] How Do I Create A Progress Bar In Web Based Application & Not The Winform Using C# In Visual Studio 2013

查看:104
本文介绍了如何在基于Web的应用程序中创建进度条&在Visual Studio 2013中使用C#而不是Winform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在基于Web的应用程序中创建进度条&不是在Visual Studio 2013中使用C#的胜利形式。



基本上我试图点击一个给我回复的API。

我在数据表中表示响应。



当数据从XML读取到数据表时,我想为用户显示某种进度条。



请帮助&建议

How do i create a progress bar in Web based application & not the win-form using C# in visual studio 2013.

Basically i am trying to hit an API which is returning me a response.
I am phrasing that response within a data-table.

While data is getting read from XML to data-table, I want to show some kind of progress bar for user.

Please help & suggest

推荐答案

ASP.NET不类似于桌面应用程序,您可以在其中执行其他线程并更新显示进度的UI线程。

例如,请参阅此CodeProject文章: A More适用于ASP.NET的高效AJAX进度条 [ ^ ]。



你可以找到更多。



-SA
ASP.NET is not analogous to a desktop application where you can execute additional thread and update the UI thread showing the progress.
See, for example, this CodeProject article: A More Efficient AJAX Progress Bar for ASP.NET[^].

You can find a lot more.

—SA


这篇关于如何在基于Web的应用程序中创建进度条&在Visual Studio 2013中使用C#而不是Winform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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