want to select only, Monday 10 and Tuesday 50.
Monday Tuesday Wed
10 40 9
20 50 6
30 70 4
the code i have so far:
For Each row As DataRow In table.Rows
table2.Rows.Add(row(0), row(1))
Next
this adds all of monday and all of tuesday, but i only want 1 data from monday and 1 data from tuesday. ?
at first i thought i needed to have column, by adding new row?
For Each row As DataColumn In table.Columns
table2.Rows.InsertAt(newRowb, 0)
table2.Rows.Add(row*(0), row(1))
***getting mixed up with rows and columns, as am having errors on *
Next
but had error with new row, but is there any way to add specific data