Monday, March 26, 2012

Saving Image to Database

Using: Compact Framework 1.0 and SQL Server CE 2.0

i want to save an image to my sql server ce 2.0 database on the device.
In the Compact Framework 1.0 the Image class does not have .FromStream method, and the PictureBox class does not .Save method.

Has anyone done this before in SQL CE 2.0 and CF1.0

Thanks

Hi,

I used File2SqlBlob of msdn article 316887, using sqlceconnection, sqlcecommand and sqlceparameter.

- Paul

No comments:

Post a Comment