By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,468 Members | 1,474 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,468 IT Pros & Developers. It's quick & easy.

Merging two DataTables in same data row

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.