0
劃分的GridView我有一個GridView如何在兩個相等的部分
<asp:GridView ID="topDreamTeam" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" >
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField HeaderText="DREAMTEAM" DataField="teamName" />
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="topDTID" runat="server" Text='<%#Eval("score") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<SortedAscendingCellStyle BackColor="#FDF5AC" />
<SortedAscendingHeaderStyle BackColor="#4D0000" />
<SortedDescendingCellStyle BackColor="#FCF6C0" />
<SortedDescendingHeaderStyle BackColor="#820000" />
</asp:GridView>
輸出綁定代碼
DREAMTEAM
-----------------
40 pavan11
30 raga11
19 Sidd11
11 Ramesh11
0 Murali11
0 madhu11
0 Sandeep11
0 Gani11
0 prachi
0 Ani11
我需要在以下格式後:
1 pavan11 40 6 Sandeep11 0
2 raga11 30 7 Gani11 0
1-5 here 6-10 here
我有困難的時候把櫃檯放在前面名稱例如:1 Pavan11 40