Developers Heaven Forum

Desktop Programming => .NET Programming => ASP.NET => Topic started by: admin on July 06, 2008, 04:14:51 PM

Title: retrieve the page url in c# code Asp.net
Post by: admin on July 06, 2008, 04:14:51 PM
usually we use "~" in the aspx code but,
How can we retrieve the page url in c# code?
The answer is:

Request.Url.AbsoluteUri

Have fun :)