Tuesday, March 03rd, 2009 | Author: admin

Example page = www.mysite.com/pickup-golding.aspx

C# code

string loadedPageName = Path.GetFileName(Page.Request.PhysicalPath);
        Response.Write(loadedPageName);

Result = pickup-golding.aspx

Category: ASP.NET, C#
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply