Storing files in a database is basically just like storing any other data. You get it into and out of the database in exactly the same way as you do any other data. When using ADO.NET, the data is represented with a Byte array. You can get a Byte array from a file and write a Byte array to a file using the File.ReadAllBytes and File.WriteAllBytes methods. For large files, you may need to stream the data to avoid high memory usage. That complicates things a bit but for most files you can just use a Byte array containing all the data.