Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I am trying to send the image converted into byte data (base64) to ajax method so that the value of the same will be available at server side for me to save the image value in DB. But I am unable to achieve the same.

Please help.

What I have tried:

I tried to save the value in html hidden field and pass it as a parameter to ajax method. but no success.
Posted
Comments
W Balboos, GHB 6-May-21 9:49am    
No code - how are we supposed to know where a problem is. Are you really sending the data? Is it really being received on the server side? Is your SQL correct to insert the data into the database (and is the table field designated for it correctly defined) ?

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