I have to create a grid’s columns dynamically. I followed the following steps:
1 - Create the RadGrid .
2 – Select a table from the database that contains column’s names, types, ...
3 - Create for each column a gridBoundColumn.
4 - Select data corresponding to the selected columns and bind it to the grid.
It’s working fine. My question is : is there a better way to create a dynamic grid ?
1 - Create the RadGrid .
2 – Select a table from the database that contains column’s names, types, ...
3 - Create for each column a gridBoundColumn.
4 - Select data corresponding to the selected columns and bind it to the grid.
It’s working fine. My question is : is there a better way to create a dynamic grid ?