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

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -