Hello,
I need to bind a grid to an arraylist that I create. Using the online demos on your site I was able to quickly show a grid bound to the arraylist using the TestListItem class that has 2 properties: A and B. However the grid shows the column headers as 'A' and 'B'. I need to set these HeaderText values from a resource file (localization) so I cannot change the propertyNames in the TestListItem class.
I thought I could do it in the DataBound handler but could not find the right place to set these values.
I need to bind a grid to an arraylist that I create. Using the online demos on your site I was able to quickly show a grid bound to the arraylist using the TestListItem class that has 2 properties: A and B. However the grid shows the column headers as 'A' and 'B'. I need to set these HeaderText values from a resource file (localization) so I cannot change the propertyNames in the TestListItem class.
I thought I could do it in the DataBound handler but could not find the right place to set these values.