Dear Friend,
Try this:-
yourTextBox.Text = webBrowser1.Url.ToString();
**This code will do what you are trying to achieve but you have to wait until the web browser load the url or you will get an error.
Or
Try this:-
string url = "";
if (webBrowser1.Url != null)
{
url = webBrowser1.Url.AbsoluteUri;
}
if (url == "www.google.com")
{
label9.Text = url;
}
If the above code helps you out then don't forget to mark this as your answer.
Regards
Varun Sareen