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
toanhoi bui
NA
70
207.3k
Display Image from Folder on Server
Sep 14 2011 1:12 AM
Hello everbody, I uploaded a image to server and want to show image on Image control by ASP. My code
String filename = FileUpload1.PostedFile.FileName;
string strFilename = Server.MapPath("Sample") + "//" + filename;
FileUpload1.PostedFile.SaveAs(strFilename);
//Show Image
Image2.ImageUrl=strFilename ;
But it does not run. Can you help me to show a image on server.Thanks
Reply
Answers (
3
)
Sorting a Dropdownlist
how to use timer tick event for sending mail on particular date