Print Page | Close Window

uri to string?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7759
Printed Date: 28 March 2026 at 9:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: uri to string?
Posted By: Boecky
Subject: uri to string?
Date Posted: 01 December 2003 at 8:03am

Does anyone know how to convert an uri to a string? (Cstr won't work)
I need it to convert a request.url to a string.
Coz I'll put my current url in a variable...or are there other solutions?
tkx




Replies:
Posted By: Mart
Date Posted: 01 December 2003 at 9:15am
I take it a uri is a type e.g. Dim thing As uri if it is try:

thing.ToString and thing.Value
< ="">


Posted By: Boecky
Date Posted: 01 December 2003 at 1:55pm
idd

Dim url As String
url = Request.Url.ToString

hmm...why I didn't think of this




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net