Link to home
Start Free TrialLog in
Avatar of Victor  Charles
Victor CharlesFlag for United States of America

asked on

Help with merging data from 2 tables using VB.NET

Hi,



I have two tables created from 2 xml files which are linked by the NSC column, How do I create a new table with data from table2 by merging data from table2 to table1, where the fields from table2 are included in table1, for example if table1 contains

NSC:   F1                            F2

1         AGD, AGD1            AGD

2        AGD                        AGD, AGD1



table2 contains:

NSC:   AGD   AGD1

1         XXX    YYY

2        ZZZ    WWW



How do I create table3?



NSC:   F1                            F2

1         XXX;YYY                XXX

2        XXX                        XXX;YYY


Thanks,

Victor
ASKER CERTIFIED SOLUTION
Avatar of Gregory Miller
Gregory Miller
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Victor  Charles

ASKER

Hi,
Unfortunately I have to use this format. This is a one time execution to create a new table, therefore speed is not an issue. Do know the VB.NET syntax to achieve this?
Thanks
Victor
Thanks