c# - ASP.Net TableHeaderRow controller produces tr not th -
this code
<asp:table runat="server" id="table" cssclass="table"> <asp:tableheaderrow> <asp:tablecell>date</asp:tablecell> <asp:tablecell>totalinboundcalls</asp:tablecell> <asp:tablecell>ghostcalls</asp:tablecell> <asp:tablecell>anserdcalls</asp:tablecell> <asp:tablecell>avgdurationtime</asp:tablecell> <asp:tablecell>avgtakingtime</asp:tablecell> <asp:tablecell>avgwaitingtime</asp:tablecell> <asp:tablecell>avgringingtime</asp:tablecell> <asp:tablecell>avgholdtime</asp:tablecell> </asp:tableheaderrow> </asp:table>
the generated html tr
not th
, wrong did please?
well tr correct, tablecell produce td, th need use <asp:tableheadercell>
instead
Comments
Post a Comment