Software Bugs and Solutions
Home
Tuesday, 29 May 2012
Get Files From a Folder C#
DirectoryInfo
dirInfo =
new
DirectoryInfo
(
"D:/Hema/Projects/Excel"
);
foreach
(
FileInfo
f
in
dirInfo.GetFiles(
"*.xls"
))
{
MessageBox
.Show(f.Name);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment