How to upload multiple photos using fileupload control in ASP.Net

Last Reply 3 months ago By cywa

Posted 3 months ago

Hi,

I want to upload multiple photos with mulitiple fileupload control in sqlserver database but the end on one upload button click.
please help me to find this.

Thanks and regards,

cywa

Results 1 - 5 of 9 12
Posted 3 months ago
Hi @cywa,
Please try the following

How to Upload multiple files using single FileUpload control in ASP.Net 4.5

It might help you.

Cheers Andrea.


Posted 3 months ago

Hi,  dharmendr and andrea thank you for replying.  i need to develope based on this code. while clicking on btnupload i need to upload in sql database

 <asp:FileUpload ID="FileUpload1" CssClass="FileUpload2" runat="server"  />
 <br />
<asp:FileUpload ID="FileUpload2" runat="server" CssClass="FileUpload2"  />
 <br />
 <asp:FileUpload ID="FileUpload3" CssClass="FileUpload2" runat="server"  />
<br />
<asp:Button ID="btnUpload" runat="server" CssClass="button" Text="upload" Style="width: 30%;" />

thanks  cywa


Posted 3 months ago

Hi cywa,

How you want to save the uploaded files in sql server database as in single column value separated by comma or in different rows?

if possible share your table data where you are trying to save the uploaded files.


Posted 3 months ago

Hi AnandM,

i want to save these every photos in different rows  only, not in a single row .

http://www.aspsnippets.com/Articles/Uploading-Multiple-Files-using-FileUpload-Control-in-ASPNet-20-30-and-35.aspx

check this link i want output like this but not in this way..

thanks and regards
cywa

I agree, here is the link: http://e-iceblue.com/free-api