I have an image that I want to use it\'s src attribute in relative format
when my website URL was http://localhost/ I used to use this code to access th
http://localhost/
You can use ~ symbol to represent root in ASP.Net