DirectoryInfo dir = new DirectoryInfo(@"C:\DATA");
FileInfo[] finfo = dir.GetFiles();
string fnames = string.Empty;
for (int i = 0; i < finfo.Length; i )
{
fnames = finfo[i].Name " <br> ";
}
Response.Write(fnames);
DirectoryInfo dir = new DirectoryInfo(@"C:\DATA");
FileInfo[] finfo = dir.GetFiles();
string fnames = string.Empty;
for (int i = 0; i < finfo.Length; i )
{
fnames = finfo[i].Name " <br> ";
}
Response.Write(fnames);