我想要你的帮助。请帮助我。 [英] i want your help.please help me.

查看:78
本文介绍了我想要你的帮助。请帮助我。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要c#代码从系统中读取所有excel并使用c#发送到文件夹.net

请帮助我 紧急 我想要。

i want c# code for reading all excels from the system and send to folder using c#.net
please help me urgently i want.

推荐答案

您可以从 Excel Data Reader [ ^ ]


您需要使用目录类用于执行此类操作。读取目录下的所有文件,找到文件后使用 File.Copy File.Move 将文件夹归档给你希望他们进来。



MSDN中的目录类 [ ^ ]

MSDN中的文件类 [ ^ ]



祝你好运,

OI
You need to use the Directory Class for doing such thing. Read all the files under a directory and after finding the files use File.Copy, File.Move methods to folder you want them to be in.

Directory Class in MSDN[^]
File Class in MSDN[^]

Good luck,
OI


这篇关于我想要你的帮助。请帮助我。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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