I need to store all values against a single ID in one row.
EX - 101 David WP3 London Australia
Use Filter Data Table to create four different tables. Each one you’ll keep only ID and Name, ID and Emp Level, ID and Depute Location, ID and Country.
Then Join Data Table three times to join DT_Name, DT_EmpLevel, DT_Depute_Location, DT_Country on ID. Note that after each join, you’ll need to remove the extraneous column that the Join creates.
We assume
- that excel data is read in within a datatable
- ID column will be the first column
In general we would do:
- grouping the data
- processing the group members and flatten the columns, by catching on non-blanks
Grouping the data: (Non-LINQ, LINQ)
Group Member Processing
- Essential or with LINQ