Tips and tricks for .NET using ASP and VB code.

Default to Excel filetypes when uploading a file

<asp:FileUpload ID="FileUpload1" runat="server" accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />

No comments:

Post a Comment

Search This Blog