write fields from multiple tables together

  • Thread starter Thread starter sonja
  • Start date Start date
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
 
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
 
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
 
Back
Top