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.
加载中,请稍侯......
精彩评论