471,330 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Merging two DataTables in same data row

Hello,

do you know a simple way how to merge two datatable that kind, that
both divide the same data row?

I've got a DataTable with only one data row and another DataTable with
only one data row. I want a merged DataTable consisting of the columns
of both DataTables with only one data row.

The Merge function creates a second data row for the second data
table.

Thank you,
Norbert
Jul 11 '08 #1
1 5146
There isnt a smiple way to do this really. If they where in a Dataset
together then you could make an object like that with Linq. Otherwise I think
your going to have to write the code.

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"Norbert PĂĽrringer" wrote:
Hello,

do you know a simple way how to merge two datatable that kind, that
both divide the same data row?

I've got a DataTable with only one data row and another DataTable with
only one data row. I want a merged DataTable consisting of the columns
of both DataTables with only one data row.

The Merge function creates a second data row for the second data
table.

Thank you,
Norbert
Jul 11 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by William Ryan | last post: by
reply views Thread by Edwin | last post: by
3 posts views Thread by Patrick | last post: by
2 posts views Thread by Emmett Power | last post: by
2 posts views Thread by Phil Townsend | last post: by
7 posts views Thread by Luis Esteban Valencia | last post: by
7 posts views Thread by Jon Vaughan | last post: by
2 posts views Thread by Neil Chambers | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.