can anybody provide me Simlpe application codes for downloading of file in asp.net with c#
plz
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Oct 23, 2009, 6:19 AM
Create an ASPX file, called download.aspx. This file takes a filename as a parameter, and returns the contents of that file in the response stream. For example, if you wanted to have the users download a file calledxyz .gif residing in the images folder, you would do so like this:
This is the vb code for downloading the file
<%@ Page language="vb" runat="server" explicit="true" strict="true" %>
This will work with all the files extension abd aby operating system