Cannot implicitly convert type System.Uri to string

Viewed 5521

I am trying to set the Text property of a TextBox to the Url property of a WebBrowser. The code I have is:

textBox1.Text = webBrowser1.Url;

Visual Studio says:

"Cannot implicitly convert type System.Uri to string"

How do I set the textBox1.Text property to the value of the webBrowser1.Url?

2 Answers
Related