Pass the datatable of one dataset to another

G

Guest

Hello,

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

Thanks
 
C

Cor Ligthert

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
 
B

Bernie Yaeger

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top