Transpose a datatable
问题 I have the data table below. I would like to change the data table to transform the data table into the one next to it. How can I do this? The reason why i would like o do this is because the excel file brings the data in like shown and then i would like to sort this data out on Row 1 Current table || Col 1 || Col 2 || Col 3 ____________________________________ Row 1 || 10 || 20 || 30 Row 2 || 1 || 2 || 3 New Datatable || Row 1 || Row 2 Col 1 || 10 || 1 Col 2 || 20 || 2 Col 3 || 30 || 3 回答1: