Downcasting

atmosphere

Member
Joined
Jun 14, 2005
Messages
8
Programming Experience
5-10
Hey,

Question about downcasting. Ive been comparing 2 DataTables (Which have the same column makeups). Previously i was comparing like this:

if table1.rows(x).item(y) == table2.rows(x).item(y) ....

But I have now turned option strict and option explicit on. So now i have to cast to a specific type to compare all of the columns, but i dont know what type each column is. How can i get around this?
 
Back
Top