hello, i'm trying to check if a cell in datagridview is of type Image with the following code
if(cell.Value.GetType()==typeof(Image))
{
......
......
}
but it's always showing "Object reference not set to an instance of an object" error..could anytell me if i'm doing this right?? If not, how do we check if the cell contains objects of image type??