Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have to requirements to be implemented in my project.

First I want to use ajaxfileupload control to upload multiple files and store these files in binary format into sql server database.

My another requirement is to hide the upload button of ajaxfileupload control through which files are uploaded and use my own submit button to save all the files because i want to save employees data along with multiple images on click of single submit button.

Can anyone help me in getting it solved.
Posted
Comments
Anubhav Goel 8-May-14 23:53pm    
I have solved my first requirement i.e. stored the images uploaded through ajaxfileupload control in sql server database in binary format but still my another requirement is pending
i.e. to hide the upload button of ajaxfileupload control through which files are uploaded and use my own submit button to save all the files because i want to save employees data along with multiple images on click of single submit button.

1 solution

follow the link you will get class to convert image to binary.

C# Image to Byte Array and Byte Array to Image Converter Class[^]
 
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