Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
i want c# code for reading all excels from the system and send to folder using c#.net
please help me urgently i want.
Posted 24-Jan-13 19:25pm
Edited 24-Jan-13 19:40pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can start with Excel Data Reader[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 540
1 Sergey Alexandrovich Kryukov 420
2 George Jonsson 328
3 Pheonyx 218
4 OriginalGriff 215
0 OriginalGriff 4,813
1 CPallini 3,890
2 Sergey Alexandrovich Kryukov 3,274
3 George Jonsson 2,552
4 Gihan Liyanage 2,186


Advertise | Privacy | Mobile
Web02 | 2.8.140905.1 | Last Updated 25 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100