如何在网格视图中添加单独的行以显示总数。我的设计看起来像这样
<asp:GridView ID="detailsGrid" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"
BorderColor="#2B80FF" BorderStyle="Solid" BorderWidth="1px" Width="100%" OnPageIndexChanging="detailsGrid_PageIndexChanging">
<Columns>
<asp:BoundField HeaderText="Invoices Amount ($)" DataField="InvoiceAmount" />
<asp:BoundField DataField="ReceivedAmount" HeaderText="Received Amount($)" />
<asp:BoundField HeaderText="Balance Amount($)" DataField="BalanceAmount" />
<asp:BoundField HeaderText="Consumers Name" DataField="ConsumerEmailID" />
</Columns>
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#b3b3b3" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
<PagerStyle BackColor="#B8C9EA" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
</asp:GridView>