try { String sql = "Select name, Image from ImageTest"; DataTable dt = new DataTable(); _Connection.FillTable(ref dt, sql); Image img = null; for (int i = 0; i <= dt.Rows.Count - 1; i++) { string TempPath; TempPath = System.IO.Path.GetTempPath() + "\\myImage.jpeg"; img = _Connection.RetriveImageFromDB(dt.Rows[i][1]); img.Save(System.IO.Path.GetTempPath() + "\\myImage.jpeg", ImageFormat.Jpeg); } } catch { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)