Images in DatagridView

Hi All.

My Datagridview has an image column and I loop round the grid to check if a value in the row = "Active". If it does I want to remove the default image.

Can you remove images from certain rows or is it a global setting?

My Code

foreach (DataGridViewRow Rowin DGVAddSupplier.Rows)

{

if (Row.Cells["Status"].Value =="Active") // Remove Image for Activate Cell

{

Row.Cells["Activate"].image = null;

}

}

[892 byte] By [JimTids] at [2007-12-24]