How to Get the Values of Hidden Columns in GridView

Microsoft's GridView coding framework allows the creator to hide columns. This keeps all of the data values intact but does not display them to the viewer. To display the hidden values, you must unhide the column. Because a column is hidden through width editing, changing the width to a visible entity (non-0) will display the data values.

Instructions

    • 1

      Open your GridView code.

    • 2

      Find the hidden column code. The first line will be <GridViewColumn [Column Name]=.

    • 3

      Change the code "width="0"" to "width="auto"."

    • 4

      Save the GridView code. When you publish or run it, the hidden column values will now be displayed.

Related Searches:

References

Comments

Related Ads

Featured