zoukankan      html  css  js  c++  java
  • webdatagrid 列样式

    <style type="text/css">

            .HeaderCaptionClass

            {

                text-align: center;

            }

            tbody.NewItemClass > tr > td

            {

                color: blue;

                text-align: center;

            }

            tbody > tr.ActiveRowClass > td

            {

                background-color: Red;

            }

            tbody > tr > td.ColumnLevelCssClass

            {

                text-decoration: underline;

            }

            tbody > tr > td.SelectedCellClass

            {

                font-weight: bold;

            }

            tbody > tr > td.ActiveCellClass

            {

                background-color: Yellow;

            }

    </style>


    <ig:WebDataGrid runat="server" ID="wdgCustomers" DataSourceID="AccessDsCustomers"

            HeaderCaptionCssClass="HeaderCaptionClass" DataKeyFields="CustomerID" AutoGenerateColumns="false"

            Width="88%" ItemCssClass="NewItemClass" Height="400">

            <Columns>

                <ig:BoundDataField CssClass="ColumnLevelCssClass" Key="Country" DataFieldName="Country"

                    Header-Text="Country" />

                <ig:BoundDataField Key="City" DataFieldName="City" Header-Text="City" />

                <ig:BoundDataField Key="CompanyName" DataFieldName="CompanyName" Header-Text="Company" />

                <ig:BoundDataField Key="ContactName" DataFieldName="ContactName" Header-Text="Contact" />

                <ig:BoundDataField Key="Phone" DataFieldName="Phone" Header-Text="Phone"/>

            </Columns>

            <Behaviors>

                <ig:Activation ActiveCellCssClass="ActiveCellClass" ActiveRowCssClass="ActiveRowClass">

                </ig:Activation>

                <ig:Selection SelectedCellCssClass="SelectedCellClass">

                </ig:Selection>

            </Behaviors>

        </ig:WebDataGrid>

        <asp:AccessDataSource ID="AccessDsCustomers" runat="server" DataFile="~/App_Data/Nwind.mdb"

            SelectCommand="SELECT [CustomerID], [CompanyName], [ContactName], [Address], [City], [Phone], [Country] FROM [Customers] ORDER BY [Country]">

        </asp:AccessDataSource>

  • 相关阅读:
    3322.org
    It is not based on WSGI, and it is typically run with only one thread per process.
    os.stat(filename).st_size 文件信息
    bzip2 zip 压缩后体积比 0.8:1
    Java不同压缩算法的性能比较 程序猿 2015-01-21 本文将会对常用的几个压缩算法的
    启用 Brotli 压缩算法,对比 Gzip 压缩 CDN 流量再减少 20%
    DEFLATE算法 zip 原理
    世间众多设计模式目的是相同的,即隔离系统变化点。
    高并发服务器建议调小 TCP 协议的 time_wait 超时时间。
    单表行数超过 500 万行或者单表容量超过 2GB,才推荐进行分库分表。
  • 原文地址:https://www.cnblogs.com/xiayan/p/4089076.html
Copyright © 2011-2022 走看看