Can someone help me convert these statements to VB
I have tried:Code:if (_control is BaseDataList)
if (_control is ListControl)
AndVB Code:
If _control Is BaseDataList Then End If If _control Is ListControl Then End If
Either way I getVB Code:
If _control = BaseDataControl Then End If If _control = ListControl Then End If
'BaseDataList' is a type and cannot be used as an expression.
'ListControl' is a type and cannot be used as an expression.
.
