Wednesday, August 18, 2010

How could I enable user to upload and download file from server using asp.net 2?

How could I enable a user to upload file to the server and then view link to download this file from the server to anthor user i when he enters the site using ASP.NET 2?How could I enable user to upload and download file from server using asp.net 2?
1. Use the FileUpload control to upload the file.


2. Store the file name in a database table


3. Display datatable to other user.





I'll put up some demo code for this shortly.





UPDATE:





Code link is below.

No comments:

Post a Comment