19

how to get the url without querystring values in asp.net?

Blankman
  • 259,732
  • 324
  • 769
  • 1,199

1 Answers1

51

Request.Url.GetLeftPart(UriPartial.Path)

matt-dot-net
  • 4,204
  • 21
  • 24