简体   繁体   English

asp.net获取特定文件夹内文件的文件名

[英]asp.net get filename of a file inside the specific folder

Good morning! 早上好!

I would like to ask some help from you guys on how do i do this problem. 我想请你们帮我解决这个问题。 I'm using asp.net and my problem is on getting the list of filename inside the folder. 我正在使用asp.net,我的问题是在文件夹内获取文件名列表。 Is there a function on this? 有这个功能吗? I tried this on console apps there's a function like GetFileName. 我在控制台应用程序上尝试过此功能,有一个类似GetFileName的功能。 Hope somebody could help me on this. 希望有人可以帮助我。

Thank you so much. 非常感谢。

Regards, 问候,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ASP.NET如何在服务器上的特定文件夹中获取文件名 - ASP.NET how to get file name in specific folder on server 在ASP.Net MVC 4.0中获取视图文件夹内的文件 - Get file inside views folder in ASP.Net MVC 4.0 如果文件存在于ASP.NET MVC中的文件夹和数据库中的文件名中,则在“编辑”中显示带有fileUpload的FileName - Display FileName with fileUpload on Edit if file exists in a folder and filename in database in ASP.NET MVC 如何使用asp.net从文件夹中删除特定文件 - How to delete a specific file from folder using asp.net ASP.net文件上传-FileBytes,FileName - ASP.net File Upload - FileBytes, FileName 如何在不使用文件上传的情况下在asp.net JQuery中获取文件名并上传文件 - How to get FileName and upload file in asp.net JQuery without using File Upload 如何从TextBoxFor type = file ASP.NET MVC 4获取FileName? - How to get FileName from TextBoxFor type=file ASP.NET MVC 4? 如何获取FileName,FilePath以将其存储在Variabl中,然后将该文件上传到asp.net - how to get FileName, FilePath to Store it in a Variabl and then upload that file in asp.net 如何从ASP.NET MVC Project中的输入类型“文件”中获取文件名? - How can i get filename from input type “file” in ASP.NET MVC Project? 获取ASP.NET临时文件夹路径 - Get ASP.NET temporary folder path
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM