Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

Please guide me how can i Upload multiple images and store their path in database.
.Net Framework:3.5, Data Base:oracle 10g


If any one Knows HTML5 LocalStorage related to above task please share me useful information.
Posted
Updated 4-Jan-15 20:09pm
v2
Comments
George Jonsson 5-Jan-15 1:35am    
Do you want to store the image OR the path in the database?
If the latter, where is the image stored? On a file server?
If you store the image, you don't really need to store a path.
And what have you done so far?
What does your table look like?
Kapuraveni BharathKumar 5-Jan-15 2:09am    
Hi Geroge,
i want upload muliple images into application localfloder and save image path into Oracle DataBase. if possible need to send multiple images to Server.

Hi,


There is multiple way to store images into database below 2 is.

1)You can store Image Path in Tables and Store the Images into Folder.
2)You can store Image type filed and store the image(Sql server) into that field..

Thanks
 
Share this answer
 
Comments
Kapuraveni BharathKumar 6-Jan-15 0:33am    
Hi Zubairk,

i want to upload multiple images using way 1. can have use full information please share with me.
Framework 4.5 supports to upload multiple files using FileUpload server control.
set AllowMultiple property to True.

Please refer the above link.

http://www.aspsnippets.com/Articles/Upload-multiple-files-with-ASPNet-45-FileUpload-control-in-Visual-Studio-2012-and-2013.aspx

This site which has code snippet to upload multiple files into the folder.


Create a seperate method to insert the file path into the Database in the foreach loop.

Let me know if you need any help.
 
Share this answer
 
v3
Comments
Kapuraveni BharathKumar 6-Jan-15 1:21am    
Hi Arjsrya,

Thanks for sharing your information.

i want to use .net 3.5 framework only, could you have any useful information please share with me.
Arjsrya 6-Jan-15 2:05am    
Try following link http://www.aspsnippets.com/Articles/Select-and-Upload-Multiple-Files-Gmail-Style-using-jQuery-and-ASP.Net.aspx
follow this url there is code you can implement.

Upload multiple files in asp.net[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900