Cyber-Drugs
asked on
C# and MySQL - Storing a picture file into database
Hi guys 'n gals,
How would I go about saving a JPG picture into a MySQL Database, with C#? I know how to connect to the database, but I have no idea what I would go about converting the picture into data, which I can store into the database, let alone, reading it back out.
Any ideas?
Cheers!
How would I go about saving a JPG picture into a MySQL Database, with C#? I know how to connect to the database, but I have no idea what I would go about converting the picture into data, which I can store into the database, let alone, reading it back out.
Any ideas?
Cheers!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks f_o_o_k_y and zajda82,
After a bit of tweaking, that did the trick!
After a bit of tweaking, that did the trick!
Regards
emrah