Thursday, November 13, 2008

Retriving page name in program like Default.aspx, Home.aspx - asp.net

Retriving page name in program like Default.aspx, Home.aspx

Request.Path.Substring(Request.Path.LastIndexOf("/") + 1)

 

No comments: