I am trying to add columns to my grid programmatically. It works OK with 1 column, but more than 1 throw an error about multiple controls with the same ID. I'm using the below code:
I've checjed and the text from col.ToString() is different. The error is balking about an ID from the second column being added. The error is as the page is rendered.