HowTo Compare DataSets

  • Thread starter Thread starter sjoshi
  • Start date Start date
S

sjoshi

Hello

I have a DataSet (dt) defined as having fields, Filename-string (PK),
Filesize-long. Now I have dt1 and dt2 of type dt with same data for
Filename but some with different data for Filesize.

I want to get a DataSet of type dt which has just the changed data from
dt1 & dt2 and would like to know the best way to do this.

thanks
Sunit
 
Shoshi,

Can you make this clearer for us because a dataset has no fields.

A dataset holds datatables and relations between those
A datatable has columns and items, the first is the description of the
second

Cor
 
Actually I meant it has table "Table1" with this defn. Basically I'm
trying to get a resultant DataSet that has only rows from dt1 & dt2
which have changed or in other words original from dt1 and the new
changed in dt2.

thanks
Sunit
 
Shoshi,

Why you are doing that, in a dataset/datatable are as long as acceptchanges
re not done the modified rows and the rows before they were modified.

Cor
 
Back
Top