Hello,
        Can you send me the code(C#-windows) for storing and retreiving an
Jpg image
in sqlite (blob). My retreive code works fine in oracle database, but not in
sqlite db.
It gives an error as shown below.
Thanks

byte[] byteData = new byte[0];

byteData = (byte[])(dsISO.Tables[0].Rows[0]["ownerlogo"]);

MemoryStream ms = new MemoryStream(byteData);

*System.Drawing.**Image img = System.Drawing.Image**.FromStream(ms); -->
Error (Parameter is not valid)*

pictureBox1.Image = img;



Thanks
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to