string url = HttpContext.Current.Request.Url.AbsoluteUri;
Result: http://localhost:1302/TESTERS/Default6.aspx
string path = HttpContext.Current.Request.Url.AbsolutePath;Result:/TESTERS/Default6.aspx
string host = HttpContext.Current.Request.Url.Host;Result:localhost
1 comments:
good posting.i like it. thank u. :)-
www.bathmateus.com
Post a Comment