how can i compare a row in two data tables

  • Thread starter Thread starter adeelanjum2001
  • Start date Start date
A

adeelanjum2001

I have two datatables with same structure. i want to compare the values
in each row. for example: datatable1.rows(0).item(0) =
datatable2.rows(0).item(0)
one way to compare the rows in datatable is to check them in loop and
doing element by element. is there any other way
thanks in advance for any help
 
You can use other methods,

By instance serialize the datarows and than compare this.

However there will probably nothing faster than the in VBNet very fast
method of comparing by looping through the objects.

What is the reason that you don't want to use this very fast method and opt
for a more time consuming one?

Cor
 
Back
Top