Last post Aug 15, 2017 10:59 PM by hkbeer
Aug 15, 2017 02:42 PM|hkbeer|LINK
In standard Gridview, rendered html table is
<table><tr> <th scope="col">Duration</th>
</tr><tr> <td>0.500</td> </tr><tr> <td>0.875</td> </tr><tr> <td>0.500</td> </tr><tr>
<td> </td> </tr> </table>
I need it to render as standard html table.
How to (1) replace <th> with <thead>, (2) add <tbody> and (3) replace <td> with <tfoot>?
I have seen a guide before but forgot to save that page. Anyone can help ? Thanks
Aug 15, 2017 02:50 PM|mgebhard|LINK
Use a Repeater to render the HTML as you like.
Aug 15, 2017 10:59 PM|hkbeer|LINK
Thanks .... repeater does not fit my case as I am using Gridivew + sqldatasource helper in my RAD development.
I keep googling and finally found these techniques would meet the need...
I copied here so anyone need in future may find it helpful.