第一个是我现有的网格视图,但我想拆分网格视图标题看起来像第二个网格视图图像下方。
这是我处理该输出的代码:
<div style="width: 100%">
<asp:GridView ID="GridView4" Font-Size="12px" runat="server" OnRowDataBound="gvSubClaims_RowDataBound" SkinID="GridView1" Width="100%">
<Columns>
<asp:TemplateField HeaderText="SubClaim#">
<ItemTemplate>
<asp:Label ID="lblSubCliamNo" runat="server" Text='<%# Eval("SubClaimNo") %>'></asp:Label></ItemTemplate>
<ItemStyle Width="10%" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Features">
<ItemTemplate>
<asp:Label ID="lblFeatures" runat="server" Text='<%# Eval("Features") %>'></asp:Label></ItemTemplate>
<ItemStyle Width="10%" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Current Reverse">
<ItemTemplate>
<asp:Label ID="lblPolCoverage" runat="server" Text='<%# Eval("PolicyCoverage") %>'></asp:Label></ItemTemplate>
<ItemStyle Width="10%" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Total Paid ($)">
<ItemTemplate>
<asp:Label ID="lblDamages" runat="server" Text='<%# Eval("Damage") %>'></asp:Label></ItemTemplate>
<ItemStyle Width="10%" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Recovery ($)">
<ItemTemplate>
<asp:Label ID="lblStatus" runat="server" Text='<%# Eval("SubClaimStatus") %>'></asp:Label></ItemTemplate>
<ItemStyle Width="10%" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Outstanding ($)">
<ItemTemplate>
<asp:Label ID="lblStatus" runat="server" Text='<%# Eval("SubClaimStatus") %>'></asp:Label></ItemTemplate>
<ItemStyle Width="10%" />
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
我可以更改/添加什么来达到预期的效果?
有人请帮我...