A
ABC
Which property or function can return the Page's URL in C#?
Which property or function can return the Page's URL in C#?
Mark Rae said:Which property or function can return the Page's URL in C#?
Request.ServerVariables["PATH_INFO"]
Or better yet, look at the complete Request.Url property,which exposes a
Uri object with very useful functions. Request.Url.AbsoluteUrl
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.