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 == table2.rows(x).item ....
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?
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 == table2.rows(x).item ....
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?