I have a database that has a Users table, and I present the data in a DataGridView. I would like to remove 4 columns, but the code that I have (link from MSDN) seems to add the columns at the end. How can I completely remove columns?
So this is what DGV looks like without deleted columns

The code I use to TRY and delete columns
RadarServerEntities rse = new RadarServerEntities(); gvUsers.DataSource = rse.Users; gvUsers.Columns.Remove("ID"); gvUsers.Columns.Remove("InsertDate"); gvUsers.Columns.Remove("Connections"); gvUsers.Columns.Remove("MachineID");
Result

I would like to get rid of the last 4 columns, so why doesn't my code do this?
Many thanks:)
source share