设置在ASP.net文件上传文件类型 [英] Setting the filetype in ASP.net fileupload
本文介绍了设置在ASP.net文件上传文件类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能限制asp.net文件上传对话框,可以只查看XML文件?
(文件管理器,只名为.xml)
Is it possible to limit the asp.net fileupload dialog to view only XML files? (Filer, .xml only)
结果
注意:不检查扩展是否的.xml,但实际上只让对话框中的用户视图的XML文件
Note: Not to check whether the extension is .xml, but to actually only let the user view xml files in the dialog.
推荐答案
这是不可能的。
这篇关于设置在ASP.net文件上传文件类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文