Hi Einar,
Seeing the other posts, here is another way that should work. (In VB)
Dim SampleTable As DataTable
SampleTable = dataSetA.SameTable.Copy()
dataSetB.SameTable.Dispose()
datasetB.Tables.Add(SameTable)
HTH
John
>I have two different datasets: datasetA and datasetB
>
>Both datasets contain the same table SameTable.
>
>How do I copy/duplicate the table from datasetA to datasetB?
>
>This does not work: datasetB.SameTable = datasetA.SameTable
>
>Thanks,
>Einar