ASP.NET: question regarding reference paths
<p>These are the three ways in which the same image has been referenced to in my project in 2-3 different files:</p>

<pre><code>url(&lt;% =QDAAB.Constants.SiteURL %&gt;images/Docs/Plan/myImage.jpg)

url(~/images/Docs/Plan/myImage.jpg);

url(../images/Docs/Plan/myImage.jpg);
</code></pre>

<p>I am a bit confused about this relative, absolute path thingy. How do I refer to this image in such a way that no matter in what folder the image is located it is always displayed and never lost. Which of the above three references ways is right to achieve what I want? Or is there another way too to refer to an image?</p>

<p>Hope the question is clear.
I am beginner to .NET and have just begun trying out stuff.</p>

<p>Also what exactly do the above code lines mean? Like, what's this <code>Constants.URL</code>? What are "~" and ".." doing?</p>

<p>Here's where the image is being used in one of the pages. When I changed it to "../.." the image got displayed, earlier it wasn't.</p>

<pre><code>&lt;td align="center" style="background-image: url(../../images/Docs/Plans/myImage.jpg);
</code></pre>
