zoukankan      html  css  js  c++  java
  • GridView好的样式|GridView管理模板|GridView管理好的样式

    GridView好的样式|GridView管理模板|GridView管理好的样式

         <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" BorderColor="#337FB2"
                        BorderWidth="2px" CellPadding="4" Font-Size="Small" ForeColor="#333333" Height="32%"
                        OnRowDataBound="gvList_RowDataBound" Width="100%">
                        <columns>
                            <asp:BoundField HeaderText="编号">
                                <itemstyle Width="5%" />                        </asp:BoundField>
                            <asp:BoundField DataField="U_Name" HeaderText="用户名">
                                <itemstyle Width="10%" />                        </asp:BoundField>
                            <asp:BoundField DataField="U_State" HeaderText="状态">
                                <itemstyle Width="10%" />                        </asp:BoundField>
                            <asp:BoundField DataField="U_IP" HeaderText="IP">
                                <itemstyle Width="25%" />                        </asp:BoundField>
                            <asp:BoundField DataField="L_Date" HeaderText="时间">
                                <itemstyle Width="5%" />                        </asp:BoundField>
                        </columns>
                        <RowStyle BackColor="White" Font-Bold="True" Font-Size="Small" ForeColor="#003399"
                            HorizontalAlign="Center" />
                        <EditRowStyle BackColor="#999999" />
                        <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                        <pagerstyle BackColor="#337FB2" ForeColor="White" HorizontalAlign="Center" VerticalAlign="Middle" />
                        <headerstyle BackColor="#337FB2" CssClass="BODY" Font-Size="12px" ForeColor="White"
                            HorizontalAlign="Center" VerticalAlign="Middle" />
                        <AlternatingRowStyle BackColor="#E8F4FF" Font-Bold="True" Font-Size="Small" HorizontalAlign="Center" />
                        <footerstyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                    </asp:GridView>

  • 相关阅读:
    Masterha-manager避免自动关闭的方法
    MHA自动切换流程
    vue 使用keep-alive缓存tab切换组件,保持每个组件滚动条位置
    el-select 输入下拉搜索,匹配不到数据时也保留输入值,同时input获取焦点时保留其value值
    尝试 React16、React-router4 实现根据动态菜单生成按需加载的路由
    vue iscroll5滚动条组件
    vue项目中 axios请求拦截器与取消pending请求功能
    jquery编写的简单日历
    手机访问电脑wampServer本地环境页面
    ajax在ie下返回未定义解决方案
  • 原文地址:https://www.cnblogs.com/bestsaler/p/1835631.html
Copyright © 2011-2022 走看看