none
How to combine two datatable without changing any structure and data...? RRS feed

  • Question

  • How to combine two data table without changing any structure and data...?

    How to combine two data table without changing any structure and data...?

    I have two data table. I want to combine these two data tables and get the final result as one data table.

    see my attached screenshot for complete reference




    • Edited by Gani tpt Friday, March 16, 2018 8:04 AM
    Friday, March 16, 2018 8:00 AM

Answers

  • How to combine two data table without changing any structure and data...?

    How to combine two data table without changing any structure and data...?



    You cannot.

    Moreover, you cannot use those 2 tables together, they have no joint identificador.


    Success
    Cor

    • Marked as answer by Gani tpt Friday, March 16, 2018 11:28 AM
    Friday, March 16, 2018 9:47 AM

All replies

  • Hello,

     You can create a new DataTable with all the Columns from both sources.

    The only problem is that the DataTable Row Sync may or may not match.

    The solution for Sync is create Relative DataTable bindings with Table1

    and Table2 as source for an input of Table3. DataTable merges without

    Sync could have bad results.

     

     Hope this helps :)

    Friday, March 16, 2018 8:58 AM
  • How to combine two data table without changing any structure and data...?

    How to combine two data table without changing any structure and data...?



    You cannot.

    Moreover, you cannot use those 2 tables together, they have no joint identificador.


    Success
    Cor

    • Marked as answer by Gani tpt Friday, March 16, 2018 11:28 AM
    Friday, March 16, 2018 9:47 AM
  • Thanks<g class="gr_ gr_5 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation multiReplace" data-gr-id="5" id="5">..</g>
    Friday, March 16, 2018 11:28 AM