摘要: //TransmitFile实现下载 protected void Button1_Click(object sender, EventArgs e) { /* 微软为Response对象提供了一个新的方法TransmitFile来解决使用Response... 阅读全文
posted @ 2015-03-23 10:48 jiajinhao 阅读(421) 评论(0) 推荐(0) 编辑
摘要: using system.NetWebClient client = new WebClient();第一种string URLAddress = @"http://files.cnblogs.com/x4646/tree.zip";//下载地址string receivePath=@"C:\";/... 阅读全文
posted @ 2015-03-23 10:43 jiajinhao 阅读(295) 评论(0) 推荐(0) 编辑