ftp进度条 求教
while (contentLen != 0)
{
// 把内容从file stream 写入 upload stream
strm.Write(buff, 0, contentLen);
contentLen = fs.Read(buff, 0, buffLength);
UPLoadSize += contentLen;
this.lbl_ftpStakt.Text = "已下载:" + (int)(UPLoadSize / 1024) + "KB/"; //lbl控件
//myProgressControl.Value = startbye;
//Application.DoEvents();
Thread.Sleep(5);
this.CurrentTime.Text = "已下载:" + (int)(UPLoadSize / 1024) + "KB/"; //lbl控件 外部有局部刷新
}
我的问题是怎样在lbl控件的值在页面中不断变化
[最优解释]
你这样写 估计达不到你要的效果哦。
可以去参考一个flash的上传组件 那个里面有进度条。
[其他解释]
SWFUpload
[其他解释]
如果你要自己去写 估计要换下思路 可以考虑 SL 或者FLASH来实现
[其他解释]
我想这样估计也行吧,也许我少加了什么,在帮忙想想
呵呵,我现在去看下flash的 swfUpload
[其他解释]
快下班了
自己先小顶一下
帮帮忙
[其他解释]
哎 真伤心 为什么就没有了
[其他解释]
我也遇见同样的困惑