擅长c#上传 [英] excel in c# uploading

查看:61
本文介绍了擅长c#上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将excel文件从一个位置上传到本地pc.with中的另一个位置,然后点击按钮。 plz help。

解决方案

尝试:

 File.Copy( @  D:\ MyFile.xls @  C:\ STL \ MyFile.xls); 


访问此处..



http://social.msdn.microsoft.com/Forums/en-US/67e2bcc8-32c3-44b2-8e64-5465e1bd3684/copy-paste-file-using-c [<一个href =http://social.msdn.microsoft.com/Forums/en-US/67e2bcc8-32c3-44b2-8e64-5465e1bd3684/copy-paste-file-using-ctarget =_ blanktitle =New窗口> ^ ]

i need to upload excel file rom one location to another location in local pc.with in button click. plz help.

解决方案

Try:

File.Copy(@"D:\MyFile.xls", @"C:\STL\MyFile.xls");


visit here..

http://social.msdn.microsoft.com/Forums/en-US/67e2bcc8-32c3-44b2-8e64-5465e1bd3684/copy-paste-file-using-c[^]


这篇关于擅长c#上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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