Clear column content without deleting column

Hi, I need to clear column (for example Column “ID”) data but I don’t want to delete the entire column, only data.

@markosc Check this below link,
https://www.codeproject.com/Questions/219015/How-to-delete-values-of-a-datacolumn-of-datatable
Hope this may help you :slight_smile:

@markosc - please check this post

Instead of New …please replace it to space or string.empty.

But the header name is still being written

@markosc - May be we misunderstood your question …

Do you want to delete the column name alone?

Please show any sample data and the expected output…

I want to clear the whole column data (header and data below) but don’t want to shift columns

image

I need to delete “ID_1” header too

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.