martinrybak/SQLClient

Inserting UIImage files

Closed this issue · 1 comments

If it's possible, how should i insert UIImage files converted to Data type into sql table? (i mean what kind of query should be used here)

You should be able to convert your data into a hex string and use it in an insert statement:
INSERT INTO ImageTable(imageField) VALUES (CONVERT(IMAGE, 0x3C3F78...))