开发者

How to retrieve image names from a folder in Asp.net VB.

I am using teler开发者_开发知识库ik editor for uploading images which are getting stored in images folder. Now I want to fetch all images and paths from that image folder and save only image name and path in to separate database table.

Can I do this in asp.net VB ?


        System.IO.Directory.GetFiles("path") 

method returns files for passed path parameter...

In asp.net application you can use Server.MapPath method which will return physical path for virtual directory.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜