Filter Data Table column names

I want to filter data table column names

My data table contains 5 columns AA, AB, BC, DE,EE

I want only three columns

AA,BC,EE

Instead of using Filter data table activity, what will be the linq query

@dutta.marina,

Use default view for this.

filteredTable = dt.DefaultView.ToTable(false, "AA", "BC", "EE")

1 Like

I echo previous solution

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