只用四行列出文件目录
摘要:
这个例子说明了在Asp.net中列出文件目录是多么简单,这里用到了两个类:DirectoryInfo和FileInfovoid Page_Load(object s, EventArgs e){ DirectoryInfo di = new DirectoryInfo("c:/inetpub/wwwroot/demos"); FileInfo[] rgFiles = di.GetFiles("*.... 阅读全文
posted @ 2004-05-21 02:12 gftygf 阅读(593) 评论(1) 推荐(0)
浙公网安备 33010602011771号