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));

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.