Pass the datatable of one dataset to another

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

How can I pass a datatable of a typed dataset to a datatable in an untyped
dataset?

Thanks
 
Chris,

You mean something as in VBNet code

dim mydatatable as DataTable = DirectCast(MyDataset.Table1,DataTable).Copy

(I did not check this, just what I think that it can be)

Cor
 
Hi Chris,

Did you try simply using the fill method? I've never done this, but on the
surface, I would expect it to work.

Bernie Yaeger
 
Back
Top