// fetch data from database
// Create dataTableAdapters
MemorySystem ms = new MemorySystem;
ms.Write(dataSet.table.Image_Data, 0, dataSet.table.Image_Data.Length);Image bmp = Bitmap.FromStream(ms);
pictureBox1.Image = bmp;
Monday, October 6, 2008
Retrieve Image from SQL Server C#
Last time, I have posted the code in saving image to SQL Server in C#. Today I'm going to write the code in retrieving the image from SQL Server.