htmlasp.nethtml-table

How to hide columns in HTML table?


I have created a table in ASPX. I want to hide one of the columns based on the requirement but there is no attribute like visible in the HTML table building. How can I solve my problem?


Solution

  • You need to use Style Sheet for this purpose.

    <td style="display:none;">