Home > ASP.Net > Get Current Page URL

Get Current Page URL


Hi

try this:

System.IO.Path.GetFileName(System.Web.HttpContext. Current.Request.Url.AbsolutePath)

or

System.IO.FileInfo(System.Web.HttpContext.Current. Request.Url.AbsolutePath).Name

Good Luck

Advertisements
Categories: ASP.Net
  1. March 3, 2014 at 3:09 pm

    I think the admin of this web page is in fact working hard
    for his web page, for the reason that here every information is quality based data.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: