DataTable comparison to check all row values are equal

I have to compare values from 2 datatable. How to check if values present in all rows in both datatable are same

may we ask you to give us some more details on the datacolumn structures. Feel free to share some sample data with us.

Also have a look here:

Hi @Sana_Afreen

Check the above link

you can use linq or if you want to compare use for each datatable.row(0).item(0) its fetch first cell record like A1 and for B1 datatable.row(0).item(1)…so on