I was going through a System.Uri class and found the following handy method:
public string GetLeftPart(UriPartial part)
This allows to get certain combined parts of the URL.
For instance if you have address "http://myhost.com/local/path/Page.aspx?field1=Name&value1=abcdef" and you need to cut it to "http://myhost.com/local/path/Page.aspx" part, you could do the following:
Uri uri = new Uri("http://myhost.com/local/path/Page.aspx?field1=Name&value1=abcdef");
string addressPart = uri.GetLeftPart(UriPartial.Path);