?
Solved

ASP.Net - Uploading and Downloading files from within a Datalist

Posted on 2005-05-12
1
Medium Priority
?
497 Views
Last Modified: 2008-03-10
We need to be able to bring up a SaveAs dialog box when a user clicks Upload from within a datalist to upload a report. This report and its location need to be saved in a SQL Server database. An option must exist whereby another user can login and download/view the saved report.

Is there a way to upload and download files in ASP.NET / VB.NET (Not C#).

I have tried,

<input id="txtFile" type="file" name="txtFile" runat="server">
<br />
<asp:button id="btUpload" runat="server" text="submit"></asp:button>
</form>

 way but it seems that the Upload button does not fire the ItemCommand when embedded in a datalist. Can someone please provide code or a way to do this?

Many Thanks.....
0
Comment
Question by:nikron2626
1 Comment
 
LVL 13

Accepted Solution

by:
softplus earned 1500 total points
ID: 13984704
Many possibilities to do that in ASP.NET, you might try some links and see which possibility matches your needs best:
http://www.aspheute.com/english/20000802.asp
http://www.codeproject.com/Purgatory/UploadFiles.asp
http://aspalliance.com/150

there are also 3rd party objects available for this, e.g. Active Upload ( http://www.activeup.com/products/components/activeupload/ ) (many others)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question