Does anyone know of a way of hiding a column in an asp.net listview? <p>I know you can put &lt;% if %> statements in the ItemTemplate to hide controls but the column is still there. You cannot put &lt;% %> statements into the LayoutTemplate which is where the column headings are declared, hence the problem. Does anyone know of a better way?</p>