2 Topics

Member Avatar for
Member Avatar for cool_zephyr

hello, i'm trying to check if a cell in datagridview is of type Image with the following code [code] if(cell.Value.GetType()==typeof(Image)) { ...... ...... } [/code] 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 …

Member Avatar for vimit
0
580
Member Avatar for culebrin

Hi, I have this: Public Class bParentClass [...] End Class Public Class bChildClass1 inherits bParentClass [...] End Class So, I do this: [CODE=vb] Dim vChildClass1 as bChildClass1 '<-- Here I create a reference to a child class type vChildClass1 = New bChildClass1 '<-- Here I point to a new object …

0
86

The End.