Image Url In C# -


i using hard coded image in web app when uploaded web app default image url is

http://localhost:61111/images/blank_profile_female.jpg

but want default url as

..../images/blank_profile_female.jpg 

i did this

imgbx.imageurl = "http://localhost61111/images/facebook-default-no-profile-pi‌​c.jpg"; 

is possible?

for mvc application

url.content("~/images/blank_profile_female.jpg") 

for web application

server.mappath("~/images/blank_profile_female.jpg"); 

Comments