//Get the blob data in a variable var data = (Byte[])(dataGridView1.Rows[0].Cells[0].Value); //Create MemoryStream using blob data of image var stream = new MemoryStream(data); //Set the stream data to PictureBox pictureBox1.Image = Image.FromStream(stream);
var data = (Byte[])(dataGridView1.Rows[e.RowIndex].Cells[0].Value);
<pre>var data = (Byte[])(dataGridView1.Rows[e.RowIndex].Cells[0].Value);
e.RowIndex
data
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)