Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,
I have a web browser control in c# win form and I am loading image using webBrowser.Document.ExecCommand("InsertImage",true",null); code, and I want to convert image base64 and save base64 string in to database without file path.
So, Please Help me.



Thanks in advanse

What I have tried:

I was try to call function in ExecCommand() but I got error because that is not proper command to convert image to base64 inline.
Posted
Updated 20-Aug-16 4:24am
Comments
Richard MacCutchan 20-Aug-16 8:44am    
Why not just save the image as a blob?
Member 12578086 20-Aug-16 9:06am    
Thanks,
So please explain, how to save as blob?
Richard MacCutchan 20-Aug-16 11:10am    
I have a better idea: go to the documentation for your database type and learn about it there.

1 solution

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