GridView – Dynamic columns
Sample code
1 | BoundField test = new BoundField(); |
Here is the UI
1 | <asp:gridview id="gridViewList" |
Here is the complete code
1 | Dim ds As DataSet _ |
Reference
- StackOverflow (Aug 16, 2016)- https://stackoverflow.com/questions/21754144/asp-net-dynamically-add-column-to-gridview - Good, describes how to add a simple data column to a gridview.