How to get the current filename

Platform: ASP.NET|Category: Files

VB.NET

Response.Write (Path.GetFileName(Request.PhysicalPath))

C#

Response.Write (Path.GetFileName(Request.PhysicalPath));