private void dgv1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (!dgvMPdetails.Rows[e.RowIndex].IsNewRow)
{
byte[] ImageArray = (byte[])dgvMPdetails.CurrentRow.Cells[16].Value;
if(ImageArray.Length != 0)
{
ImageByteArrays = ImageArray;
getData.getImages = Image.FromStream(new MemoryStream(ImageArray));
}
getData.getNimages = dgvMPdetails.Rows[e.RowIndex].Cells[17].Value.ToString();
}
form 2
public partial class frmProductDetails : Form
{
public Image getdgvImages = frmMPdetails.getData.getImages;
}
public void loaditem()
{
pbximages.Image = getdgvImages;
}
Hello Please Help Me. how can I call the image inside of the datagridview to another form and display it to a picture box. Thank You so much