Click here to Skip to main content
14,668,709 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi how to upload multiple images in fileupload control and preview by using c#.net

just click on browse buttoon select multiple files that files display in preview either datalist or any other template plrase give me a solution.....?
Posted

Rate this:
Please Sign up or sign in to vote.

Solution 2

try this link I hope it will give u http://stackoverflow.com/a/15438553/1966993[^]

use progress bar to show the progress of the files uploaded and in the for loop try to increment the progress bar value.

For suppose if you have 10 files to upload then in for loop increment by 10 and by the end of 10 files, your progress bar is 100% and works perfectly.

Try this and let us know if this works for you.

Thanks
Ganesh
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

first count images and use for loop according to your image counting and then write upload code


its simple to do just do it will solve automatically
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100