Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I render .NET TableCell as TH instead of TD?

Tags:

.net

I'm dynamically building a .NET Table, including TableRows with TablesSection set, resulting in 1 THEAD row and multiple TBODY rows. Now I need to get the TableCells in the THEAD row to render with TH tags rather than TD tags. How do I do that? I haven't found a TableCell attribute for that, and it won let me add Literals to the row Cells collection.

like image 488
Ken Paul Avatar asked May 19 '10 18:05

Ken Paul


1 Answers

Have you tried TableHeaderCell?

like image 198
Oleks Avatar answered Nov 08 '22 00:11

Oleks