Dynamically bind MVC Web grid using List

May 26 2017 9:01 AM
Hi,
I want to bind dyanmic columns in a web grid with List object.
The code works correctly If I have only one object in the (i.e. only one column to display in the grid)
but when I got more than one column the code get failed with the error "column 2 does not exists".
Please find my code attached.
Regards
Abhishek

Answers (2)