set home page
Added to the favorites
All articles(网络文学目录)
All Pictures(图片目录)
All Softwares(软件目录)
asp.net设计图片循环,如何从文件夹读取图片_[Asp.Net教程]
Writer:
归海一刀
Article type:
Programming skills(编程技巧)
Time:
2014/1/30 1:24:31
Browse times:
356
Comment times:
0
asp.net设计图片循环,如何从文件夹读取图片_[Asp.Net教程]
Head photo
Go homepage
Upload pictures
Write articles
asp.net设计图片循环,如何从文件夹读取图片_[Asp.Net教程]
asp.net设计图片循环,
怎样从文件夹里读取图片?
答:
DirectoryInfo imagesfile = new DirectoryInfo(Server.MapPath("../images/"));
Repeater1.DataSource = imagesfile.GetFiles("*.jpg");
Repeater1.DataBind();
引用的时候重要的是路径,路径写成
There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)
Comments can't is empty(评论不能为空)
Disclaimer
Privacy Policy
About us
Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.