1个回答
展开全部
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(@"C:\Program Files\Outlook Express");
System.IO.FileInfo[] fimore = di.GetFiles();
foreach (System.IO.FileInfo fi in fimore)
{
Response.Write(fi.Name);
Response.Write("<br>");
}
System.IO.FileInfo[] fimore = di.GetFiles();
foreach (System.IO.FileInfo fi in fimore)
{
Response.Write(fi.Name);
Response.Write("<br>");
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询