Storing Images In A Table
Posted by: David Donahue
Date: February 11, 2005 07:47PM

When I was developing .NET websites using a MS SQL Server 2000 database, I used a Binary type column to store a byte array of data from an image file (along with a string for its content type and an integer for its length). I wasn't sure if it was the best method for storing an image, but it worked great with the .NET code I was using. (I can provide my code examples if you wish.)

Now that I'm moving to a MySQL database, I'm having trouble converting this one function. What is the best method for storing image files in MySQL? What is the best method for adding/updating/retrieving the data? Does anyone else do this in .NET (VB or C#, it doesn't matter) and can provide a code example? Any help I can get on this would be very much appreciated. Thank you.


Regards,
David P. Donahue
ddonahue@ccs.neu.edu

Options: ReplyQuote


Subject
Written By
Posted
Storing Images In A Table
February 11, 2005 07:47PM
February 12, 2005 07:09AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.