确保下载完成或未完成 [英] Ensuring Downloading is completed or not

查看:83
本文介绍了确保下载完成或未完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的任务是从特定的URL下载excel文件,然后将其读取并插入sqlserver,因此我已经完成了.但是问题是,如果excel文件很大,有时会花更多时间下载文件,这时将文件控件下移到下一条语句之前,它无法读取文件,因此如何在传递到下一个语句之前,我可以知道下载是否完成.

任何建议表示赞赏

谢谢

Hi,

My task is to download excel file from a specific url read it and insert in sqlserver, so I have done it. But the problem is some times if the excel file size is big, it will take more time to down load the file, at this time before downloding the file control goes to the next statement so that it is unable to read the file, so how can I know the download is completed or not, before passing to the next statement.

Any suggestions appreciated

Thanks

推荐答案



请参阅此链接

http://www.devtoolshed.com/content/c-download-file-progress-bar [ ^ ]
Hi,

Refer to this link

http://www.devtoolshed.com/content/c-download-file-progress-bar[^]


使用线程概念........

分配值,并在loadig检查条件是否超过其时间iz时?
use threading concepts........

assign the value and while loadig check the condition,,,, its time iz over or not?


这篇关于确保下载完成或未完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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