hi all,
i have the following piece of code:
Property xyz As Object
Get
[...]
End Get
Set(ByVal Value as Object)
[...]
Dim a as String = CType(DataGrid1 (row, col), String)
Dim b as String = CType(Value, String)
If a Like b Then
DataGrid1.Curre ntCell = New DataGridCell(ro w, col)
[...]
End If
End Set
End Property
when a or b is NOT Nothing (or DBNull) the code stops without any messages
or exceptions at the "If a Like b" line and doesn't set the value.
what could be my problem here?
thx for any help,
netracer
i have the following piece of code:
Property xyz As Object
Get
[...]
End Get
Set(ByVal Value as Object)
[...]
Dim a as String = CType(DataGrid1 (row, col), String)
Dim b as String = CType(Value, String)
If a Like b Then
DataGrid1.Curre ntCell = New DataGridCell(ro w, col)
[...]
End If
End Set
End Property
when a or b is NOT Nothing (or DBNull) the code stops without any messages
or exceptions at the "If a Like b" line and doesn't set the value.
what could be my problem here?
thx for any help,
netracer