Tuesday, January 18, 2011

How to get url without paramters/query string

Many of times we just wants exact url of our page without parameters. to get it you can use below code:

Request.Url.GetLeftPart(UriPartial.Path)

Solution By: Rajesh Rolen

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates