opik074
little notes
Home
About
Free Resources
Sitemap
Blog
Contact me
code + design = art
Subscribe Now
Get URL Address ASP.NET
By Taufik Lukman
Posted On
01.48
//
Leave a Comment
String strPathAndQuery = HttpContext.Current.Request.Url.PathAndQuery;
String strUrl = HttpContext.Current.Request.Url.AbsoluteUri.Replace(strPathAndQuery, "/");
Result
"
http://localhost:1234/
"
"
https://www.something.com/
"
Source:
http://stackoverflow.com/questions/593709/how-to-get-the-url-of-the-current-page-in-c-sharp
Labels:
0 komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
0 komentar:
Posting Komentar