foreach (DataGridViewRow row1 in dgvDisplayTiles.Rows) { string imgPath; imgPath= (Application.StartupPath + row1.Cells[3].Value.ToString()); Image imageFloorTile = Image.FromFile(imgPath); if (imgPath != null) { //img.Image=imgPath; row1.Cells[3].Value = imageFloorTile; } else { MessageBox.Show("Invalid Path"); } }
DataGridViewImageColumn
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)