As the DetailsView uses <td> cells for both the header text and the data, I was wondering whether the behaviour of the control can be overridden to render the HeaderText of each row in a <th> cell?
@Joel Coehoorn Thanks for the quick reply, but I was kind of hoping I wouldn’t have to go down that route.
I was wondering whether it would be possible to override one of the control rendering methods to achieve this?
Someone seems to have had success rendering <th> cells but did not appear to disclose details – any other suggestions would be gratefully received.
I managed to find a way around this by using the ItemCreaed event handler and swapping the <td> cell for a <th> cell like this: