The portion that I've underlined is where the error is occuring (as it is what is underlined in VS .NET.) The error message is:VB Code:
if data.Tables("ResolutionTable").Rows(iter).Item(1).ToString.CompareTo("0") Or _ data.Tables("ResolutionTable").Rows(iter).item(1).ToString.CompareTo("") Or _ [u]IsNothing(data.Tables("ResolutionTable").Rows(iter).Item(1).ToString)[/u] Then
Why is this happening?Code:Option Strict On disallows implicit conversions from 'Boolean' to 'Integer'.
I'd like to stick to using option strict, since it enforces good programming practices.


Reply With Quote
