您的位置:首页 > 移动开发

c# Web Application 中使用FileUpload代替OpenFileDialog

2009-09-13 20:19 567 查看
cited

OpenFileDialog is for windown forms
application, I am not sure what you intended to do whether you want to
upload file or do other thing.

Simply you can use file upload, If you want to dialog box to open, you can use either HTML input file type or <asp:FileUpload

ex:

<input type="file" id="fleUpload" runat="server" />

or

<asp:FileUpload ID="FileUpload1" runat="server" /></div>

Happy coding
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: