TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vijaya kumar
NA
9
2k
how to get https image directory in subfolder image to view
Apr 26 2016 3:37 AM
how to get https image directory in subfolder image to storage in view list<string> the code is below
It shown error in DirectoryInfo path
DirectoryInfo dir = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath("http://www.blueocktopus.com/RRImages/all/"));
FileInfo[] file = dir.GetFiles();
List<string[]> list = new List<string[]>();
foreach (FileInfo file2 in file)
{
if (file2.Extension == ".png" || file2.Extension == ".jpg" || file2.Extension == ".jpeg")
{
list.Add(new string[] { "Imagespath" });
list.Add(new string[]{file2.ToString()});
}
}
Reply
Answers (
1
)
How to get KeyPressed ,KeyDown,KeyUp in WebForm Using C#
Chating program