Compare datarows
-
Is it possible to compare two datarows taken from two separate datasets as a whole, or do you have to compare the value of each column in the row. Please advise
-
Is it possible to compare two datarows taken from two separate datasets as a whole, or do you have to compare the value of each column in the row. Please advise
u can do ,if the table schemes r the same.
-
u can do ,if the table schemes r the same.
Just Greeky Creek wrote: u can do ,if the table schemes r the same. How is this done?
-
Just Greeky Creek wrote: u can do ,if the table schemes r the same. How is this done?
Dim greeky As Boolean = True Dim xDs1 As New DataSet Dim xDs2 As New DataSet For i As Short = 0 To xDs2.Tables(1).Rows.Count - 1 greeky = greeky And xDs1.Tables(0).Rows.Contains(xDs2.Tables(1).Rows(i)) Next If greeky Then MessageBox.Show("xDs1.Tables(0) contains all rows of xDs2.Tables(1)") End If