I have a GridView bound to a DataTable. The DataTable contains columns with 'integer' names. e.g. "2000", "2014" etc.
When I try to edit a cell in the GridView, I'm shown an error: Cannot find column 2000.
I suspect this is because the column name is parsing to an int somewhere internally. When I change to column name to something like "x2000" then it works fine.
Are there any workarounds for this?
When I try to edit a cell in the GridView, I'm shown an error: Cannot find column 2000.
I suspect this is because the column name is parsing to an int somewhere internally. When I change to column name to something like "x2000" then it works fine.
Are there any workarounds for this?