Cast from type 'DataRowView' to type 'Integer' is not valid.
I run into a problem on this line:
Dim selectedProgram As Integer = CType(cbPrograms.SelectedValue, Integer)
In trying to figure out the solution I set the whole Sub identical to the Taskvision sub - which gets no issues from the debugger:
Dim selectedProject As Integer = CType(cbProjects.SelectedValue, Integer)
What am I missing?
Robert

