DOT NET ACADEMY
Dot Net Interview Questions and Tutorials By Dr. Rajesh Rolen
Home
ASP.NET Interview Questions
+
C#.NET and VB.NET Interview Questions
OOPs Interview Questions
+
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:
Post a Comment
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment