在asp.net中执行编辑操作时,如何在文件上传控件中显示图像名称? [英] how to display the image name in fileupload control while performing edit operation in asp.net?
本文介绍了在asp.net中执行编辑操作时,如何在文件上传控件中显示图像名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp.net中执行编辑操作时如何在文件上传控件中显示图像名称?
how to display the image name in fileupload control while performing edit operation in asp.net?
推荐答案
尝试在文件上传控件中显示路径:
Try this to show path in fileupload control:
myFileUpload.Attributes.Add("value", fileNameYouWantToShow);
这篇关于在asp.net中执行编辑操作时,如何在文件上传控件中显示图像名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文