C
cs_hart
I am getting an invalid cast exception - cast from string to type
double is not valid.
Dim curName As String
Dim prevName As String = ""
curName = CStr(rows.Item(i).Item(colSchName)) ' extract name from
database row
If (curName.CompareTo(prevName <> 0)) Then <--- exception occurs on
this line
I do a cast on line 3 but that is not the one getting an exception. Any
help appreciated...charlie
double is not valid.
Dim curName As String
Dim prevName As String = ""
curName = CStr(rows.Item(i).Item(colSchName)) ' extract name from
database row
If (curName.CompareTo(prevName <> 0)) Then <--- exception occurs on
this line
I do a cast on line 3 but that is not the one getting an exception. Any
help appreciated...charlie