8
Reply

Datatable

Ilkin Turk

Ilkin Turk

Apr 12 2013 4:34 AM
1.5k
hello how to combine below given datatable rows by id .like below:


 ID   |  NAME | SURNAME |
          --------------------------------
            1   |  null   |    MIKE          
           -------------------------------
            1   |  JON     |   null

          -------------------------

           2   | SON    |    null

           ----------------------

             2 |  null    |  Berry


RESULT WILL BE AS BELOW 

           

          ID   |  NAME | SURNAME |
          --------------------------------
            1   |  JON   |    MIKE          
           -------------------------------
            2   |  SON     |   Berry
          

Thanks in advance


Answers (8)