-1

我想添加一个按钮和文本框。当用户单击按钮时,浏览对话框会打开,选择文件后,应将完整路径写入文本框。在第二种情况下,当单击按钮时,我应该能够选择文件夹而不是文件。我尝试使用 FileUpload,1. 我无法从控件 2 中获取完整路径。并且无法选择文件夹,并且与 Html 文件控件相同。

我正在使用 VB 开发 ASP.NET。

请建议。

4

1 回答 1

0

For security reasons, there's no way to retrieve the file path on the client side. Forget about that.

于 2013-07-26T12:02:18.043 回答