Remove only column names from datatable without removing the data

In some cases, the columns will not have the same columnstructure, in such case what should be the workaround please