I add a gridview into a accordionpane in a accordion. And I bind data to this gridview and define a column as a datakeyname and make it un-visible. However when I get the datakeys[index] in the behind code, there is an error that "Index was out of range".
But I am sure the index is not out of the range, and when i debug i see the count of the datakeys is 0
I don't know why this error happens?
View Complete Post