Removing columns with row values ββfrom a data table
I want to remove a specific column from my datable before limiting it to the grid view. I tried with
finalTable.Columns.RemoveAt(0);
finalTable.Columns.RemoveAt(1);
but it does not delete the row values ββthat belong to that column.
How can I delete a column with row values?
EDIT: After it's anchored to the grid, the rows are displayed in the third column.
+2
a source to share