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
Bineesh Viswanath
NA
1k
775.4k
Error in using: (Server.MapPath("//ImageUrl")
Sep 5 2013 12:54 AM
Sir, I am Getting an error when using:-
string[] imageName = System.IO.Directory.GetFiles(Server.MapPath("/Photos"));
Getting error that : An object reference is required for the non-static field, method, or property 'System.Web.UI.Page.Server.get'
Why getting this error, is the lack of namespace or reference?
Reply
Answers (
6
)
Unique Device Identifier
Unique Id in asp.net