DataTable tab = obj.createtable("Select pics from picto");//obj is the class in which createtable(string query) is function which returns datatable according to query
byte[] ImgByte = (byte[])tab.Rows[0][0];
FileStream fs = new FileStream("test.GIF", FileMode.Create);
fs.Write(ImgByte, 0, ImgByte.Length);
fs.Close();
fs = null;
pictureBox2.Image = Image.FromFile("test.GIF");
the last line give "out of memory " error.
Plz help me
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.