Click here to Skip to main content
14,691,039 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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
   
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
   

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