Andrew Bullock Andrew Bullock - 11 months ago 56
ASP.NET (C#) Question

How do I get Gridview to render THEAD?

How do I get the

control to render the
tags? I know
makes it put
instead of
, but I cant get the
to appear.

Answer Source

This should do it...

gv.HeaderRow.TableSection = TableRowSection.TableHeader;