Hi
Although this is possible, it is not recommended.
In your case, would storing the file location and loading it from the file system not be an option?
If not, the data type used in sql, can be Image or Binary.
make sure your column is of this type and create a stored procedure to add entries into the table.
You would have to store the image as a byte array.
ie. (psuedo code below - to give you an idea)
stream = new System.IO.FileStream (yourfile)
byte[] buffer = stream.Read()
'insert into database using stored procedure
sqlcommand = new SqlCommand()
sqlcommand.Parameters.Add("@YourParam", buffer)
sqlcommand.ExecuteNonQuery()
I hope this helps
Jonathan Crossland
http://www.jonathancrossland.com