write fields from multiple tables together

S

sonja

Hello,
i want to write fields from multiple tables from one dataset back into
a new dataset. How can i do this?
Thanks for any Help
 
R

Robbe Morris [C# MVP]

Do you want a new table with the combined fields?
If not, why not just add table2 to the dataset that
holds table1?

--
Robbe Morris - 2004-2006 Microsoft MVP C#
I've mapped the database to .NET class properties and methods to
implement an multi-layered object oriented environment for your
data access layer. Thus, you should rarely ever have to type the words
SqlCommand, SqlDataAdapter, or SqlConnection again.
http://www.eggheadcafe.com/articles/adonet_source_code_generator.asp
 
C

Cor Ligthert [MVP]

Sonja,

By copying the tables and add those tables to you new dataset.

Be aware that you never can copy datarows. Those don't contain the
datacolumn desctriptions and are therefore always bound to 1 table.

Cor
 

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