本文介绍了Dynamic Gridview Colum如何设置One Specfic列Grand Total的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





这是我的代码...



我想用动态gridview专栏。我想要一个特殊的colum colum总计?



Hi,

This is my code...

I want use dynamic gridview column. I want one specfic colum grand total?

<asp:GridView ID="SalesGrid" runat="server" AllowPaging="true"

        BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px"

        CaptionAlign="Top" CellPadding="4"

        style="z-index: 1; left: 99px; top: 413px; position: absolute; height: 313px; width: 554px; bottom: 0px;"

        GridLines="Horizontal" onrowdatabound="GridView1_RowDataBound"

        onpageindexchanging="GridView1_PageIndexChanging"

        ondatabound="SalesGrid_DataBound" Visible="False"

        ShowFooter="true"

        onrowcreated="SalesGrid_RowCreated">

        <EditRowStyle Wrap="False" />
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <HeaderStyle BackColor="#336666" ForeColor="White" Font-Bold="True" />
        <PagerStyle ForeColor="White" BackColor="#336666" HorizontalAlign="Center" />
        <RowStyle BackColor="White" ForeColor="#333333" Wrap="False" />
        <SelectedRowStyle BackColor="#339966" ForeColor="White" Font-Bold="true" />
        <SortedAscendingCellStyle BackColor="#F7F7F7" />
        <SortedAscendingHeaderStyle BackColor="#487575" />
        <SortedDescendingCellStyle BackColor="#E5E5E5" />
        <SortedDescendingHeaderStyle BackColor="#275353" />
    </asp:GridView>

推荐答案


这篇关于Dynamic Gridview Colum如何设置One Specfic列Grand Total的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 14:46