How to obtain the current url
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/593709/how-to-get-the-url-of-the-current-page-in-c-sharp">How to get the URL of the current page in C#</a>  </p>
</blockquote>



<p>If I am in a page say <code>http://myweb/folder/obtain.aspx?thevalue=3</code> , how can i determine if the url contains <code>obtain.aspx?thevalue</code> in c#?. I just need to check whether the user landed on this particular page.</p>

<p>PS: I guess I dont really need to check for the <code>?thevalue</code> but just the <code>obtain.aspx</code></p>
