Live Chat Icon For mobile
Live Chat Icon

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

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

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

Please submit your question and answer.