Add a stored procedure for insert a binary type field.
CREATE PROCEDURE sp_InsertBinary
(@BinaryArray Binary)
AS
BEGIN
INSERT INTO TABLE_OF_BINARY_FIELD VALUES(@BinaryArray)
END
Secondly, ensure that the Datatype that you are sending in your DataLayer are Binary, like this:
SqlParameter sqlParam = new SqlParameter();
sqlParam.DbType = System.Data.SqlDbType.Binary;
sqlParam.Value = yourBinaryArray;
don't forget to add your parameter to your sqlcommand and execute them.
Greets :)