Hi friends!
I'm in need to store pictures of up to 300 dpi resolution in a database. In the moment the pictures are read into the program from a path and loaded into pictureboxes. From here they should be stored into my SQL 2005 server database. I have used 'image' as the dataformat in my database, but in the DataTable object this seems me to be byte[]
The question is: How to convert from Image class to byte[] and back, how to calculate size of needed bytes for a maybe needed buffer of bytes; also how to reload the picture from database back to application.

Any ideas where to find information about this ? Any codesamples?