i have read it into a datatable
what i need to do is to get the everything in to one column. the rows with a comma should be split and the data after the column added to the datatable
it should look like this. (the order does not matter to me)
dt = (From row In dt.AsEnumerable()
From column In row.Field(Of Object)("Column").ToString().Split(","c)
Select dt.Clone().Rows.Add(column.Trim())).CopyToDataTable()
i discovered that if i split coulmn3 out then i run into problems later with a join that i have for another data table.
so i will have from this data table abc,def, then from another data table abc and def and when i go to join them together they will not match up. is there anyway of getting my datatable to look like this
so i need to split the column based on the “,”
then add a new row with all the original data except for what is before the “,”