Get URL without QueryString in .NET

To get the current Url without the query in VB.NET
[code lang=”vb”]Request.Url.AbsoluteUri.Split("?")(0)[/code]

Leave a comment

Your email address will not be published.