• I looked up reading and writing images to and from the database, because I think the concept would be similar. A nice explanation with some C# code is here:

    http://www.akadia.com/services/dotnet_read_write_blob.html