删除fileuploader中的文件路径 [英] Remove file path in fileuploader

查看:66
本文介绍了删除fileuploader中的文件路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临的问题是上传文件后,文本框中存在文件路径.
上传文件后如何删除路径.

I am facing the problem is after upload the file ,file path is existing in textbox.
How to remove path after uploading file.

推荐答案

在文件上传后创建事件监听器,然后在事件处理程序中需要清除文本框(即textbox1.Text = "").

另一种方法是按下上传按钮后,您可以清除文本框.

我需要一个示例,说明您正在尝试编写哪些代码以更好地进行解释.
You create an event listener after your file is uploaded, then in the event handler you need to clear the textbox (ie textbox1.Text = "").

Other way would be after you press the upload button then you can clear the textbox.

I would need an example of what you are trying to code to explain better.


这篇关于删除fileuploader中的文件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆