在页面上保存文件上传控件的文件名

问题描述:



我正在使用文件上传控件,在选择文件后点击上传按钮时,文件名消失了,并且没有选择文件的标签"仍然存在,我该如何保留它?请指教

hi ,

i am using an file upload control and on hitting the upload button after choosing the file the file name disappears and "no file choosen tag" remains there how can i retain it? please advice

请添加另一个按钮进行保存.
单击保存按钮的单击事件时,将保存文件..........
please add one another button for save.
at click event of save button save the file..........




要维护文件名,您需要使用HiddenField.这可以帮助你

祝你好运
Hi,

to maintain name of file u need to use HiddenField. this can help u

Best Luck