Concise way to format columns in a gridview?
===

I realize this is an easy question, but despite searching I can't find anything specific towards my problem.

I have a gridview populated with 9 or so columns. I want to both change the column names and edit the number of visible columns. So instead of

    | x | y | z |
      2   6   7

I'd like 

    |new x|new z|
       2     7
I realize that I can manually edit the column names and set them to visible or not, but is there a way to do something like: if (column = y) then (display column) and (column name = new y)?

Much appreciated.