Selasa, 26 Agustus 2014

Get URL Address ASP.NET

String strPathAndQuery = HttpContext.Current.Request.Url.PathAndQuery;
String strUrl = HttpContext.Current.Request.Url.AbsoluteUri.Replace(strPathAndQuery, "/");

Result

Tidak ada komentar:

Posting Komentar