Microsoft Technology
Search this blog
Tuesday, September 29, 2009
Find the Filename Of Current Page in ASP.NET
Here is an another piece of code to findout the filename of current page that is being viewed.
using
System;
using
System.IO;
Response.Write(
Path
.GetFileName(
HttpContext
.Current.Request.FilePath).ToLower());
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment