how can i upload multiple images into database using asp.net c#

Posted by Jahi under ASP.NET on 4/1/2011 | Points: 10 | Views : 22168 | Status : [Member] | Replies : 3
Hi sir,


How can i upload multiple images into database using asp.net C # language?

And how can i retrieve from database ?





Thanks Regards
Jaheena




Responses

Posted by: Prabhakar on: 4/1/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi jahi . .

u want to upload multiple imges in database so i think u use 3-4 Fileuploader for image uploading . . or for inserting & retrieve images so chek this link , ,

http://www.aspdotnetcodes.com/Insert_Images_Database.aspx

Best Regard's
Prabhakar

Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 4/1/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Jahi,

Read this article http://www.dotnetfunda.com/articles/article1084-saving-images-into-the-database-in-aspnet-and-displaying-to-the-gridview-.aspx and you can also download the sample demo app and use it.

As Prabhakar said in order to save multiple images into the database you need to have multiple File upload controls and to retrieve them use the similar approach as used in this article.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 4/3/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Check this link... It has the solution for your requirement...

http://www.aspsnippets.com/Articles/Save-and-Retrieve-Files-from-SQL-Server-Database-using-ASP.Net.aspx

Thanks
Karthik
www.f5Debug.net

Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response