石家庄建站平台

十年经验 优惠价格 贴心服务

服务热线 15383239821

asp.net 如何读取文件夹下所有图片名称

发布时间:2013-06-11    来源:

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>");
        }


还没开展互联网业务? 马上开始

扫码加好友
扫码加好友