c# - BoundField "child" in aspx -
i have gridview columns, , inside columns have boundfields.
<columns> <asp:boundfield headerstyle-wrap="false" itemstyle-wrap="false" headertext="a" datafield="a" /> <asp:boundfield headerstyle-wrap="false" itemstyle-wrap="false" headertext="b" datafield="b" /> <asp:boundfield headerstyle-wrap="false" itemstyle-wrap="false" headertext="c" datafield="c" /> <asp:boundfield headerstyle-wrap="false" itemstyle-wrap="false" headertext="d1" datafield="d1" /> <asp:boundfield headerstyle-wrap="true" itemstyle-wrap="false" headertext="d2" datafield="d2" /> <asp:boundfield headerstyle-wrap="true" itemstyle-wrap="false" headertext="d3" datafield="d3" /> </columns>
i have picture explains have, , looking achieve, here goes:
just have itemtemplate
keep design in gridview cell, have headertemplate
customise header design. googling took me this simple article
Comments
Post a Comment