开发者

How to create a browse button

How can a ASP.NET button be used to browse开发者_运维问答 and upload items from my computer? Using C# language if needed.


You can't use <asp:Button /> for that. You should use the <asp:FileUpload /> control instead.

The myUploadControl.FileBytes then contains the byte array containing the file data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜