What could be causing this?
this code:
String Com = "";
if (Com != (String)rw.ItemArray[0])
fails at runtime with the error message: Unable to cast object of type
'System.Int32' to type 'System.String'.
this code, in a different class runs without error:
String Env = "";
if (Env != (String)rw.ItemArray[0])
Both rw.ItemArray[0] elements are int32 datatypes, both are populated with
the same numerical value
Thanks,
Keith