Reputation: 159
I used FileUpload
control and Server.MapPath
to load an image file url
to database. Then I want to get this image file url
from database and set the Image control in Asp.Net
. How can I do that?
When I load the image file url
to database is look like this in database:
C:\Users\Joseph\Documents\Visual Studio 2012\Projects\cesme_pano\cesme_pano\Chrysanthemum.jpg
I set this url
to Image.ImageUrl
control, but it didn't work. How can I solve this problem.
Thanks.
Upvotes: 1
Views: 1088