E
Earl
Option Strict On gives me a late-binding exception for the following code.
Note that EmployeeList is a listarray populated with Employee objects and
one of the Employee properties is the EmployeeID.
If IsDBNull(EmpIdRet) = False Then
'error trying to compare object property ID to an Int32 variable
If EmpIdRet = EmployeeList.Item(intCounter).EmployeeID Then
cmbEmployee.Text = EmployeeList.Item(intCounter).ToString
End If
End If
Note that EmployeeList is a listarray populated with Employee objects and
one of the Employee properties is the EmployeeID.
If IsDBNull(EmpIdRet) = False Then
'error trying to compare object property ID to an Int32 variable
If EmpIdRet = EmployeeList.Item(intCounter).EmployeeID Then
cmbEmployee.Text = EmployeeList.Item(intCounter).ToString
End If
End If