Link to home
Start Free TrialLog in
Avatar of nikron2626
nikron2626

asked on

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

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.....
ASKER CERTIFIED SOLUTION
Avatar of softplus
softplus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial