Merging two DataTables in same data row

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?ISO-8859-1?Q?Norbert_P=FCrringer?=

    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
  • =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?=

    #2
    RE: Merging two DataTables in same data row

    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
    try{ Life(); } catch (TooDifficultException) { throw Toys(); }



    "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
    >

    Comment

    Working...