Click here to Skip to main content
16,012,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Try to create dynamic file upload in MVC 3, when I post the page only gives count where I choose the file but this will gives me error , because have to save other data also although I don't have any file in the file upload.

Any one have any suggestions on the same?
Posted

1 solution

Thank you very much every body. I get my answer while trying it. The HttpPostedFileBase[] objPostedFile take all list of posted file in array so that we can iterate it through each file array and save each non null file into the database.

Thank
Prakash Bhatta
 
Share this answer
 

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