2 Topics
|
|
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 … |
|
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 … |
The End.