zoukankan      html  css  js  c++  java
  • .NET GridView使用滚动条(通过<div>)

    <div style="height: 450px; 350px; overflow-x: auto; overflow-y: auto;">

          <asp:GridView ID="GridView1" runat="server" BackColor="LightGoldenrodYellow" BorderColor="Tan"
                     BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None" AutoGenerateColumns="False"
                     Height="100px" Width="301px">
                     <FooterStyle BackColor="Tan" />
                         <Columns>
                             <asp:BoundField HeaderText="NAME" DataField="Name" />
                             <asp:BoundField HeaderText="COUNT" DataField="Count" />
                             <asp:BoundField HeaderText="SUM" DataField="Sum" />
                             <asp:BoundField HeaderText="AVERAGE" DataField="Average" />
                         </Columns>
                             <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                             <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                             <HeaderStyle BackColor="Tan" Font-Bold="True" />
                             <AlternatingRowStyle BackColor="PaleGoldenrod" />
          </asp:GridView>
    </div>

  • 相关阅读:
    Centos7 KVM启用嵌套虚拟化
    CentOS 桥接网卡配置
    centos iso镜像自动挂载
    git status没有颜色提示
    virt-install 安装系统和启动虚机
    Python 源代码代码打包成 whl 文件
    存储池与存储卷,使用virt-install创建虚拟机
    ftp 搭建 centos 源
    git 生成并添加 SSH key
    linked-list-cycle leetcode C++
  • 原文地址:https://www.cnblogs.com/liufei88866/p/1925176.html
Copyright © 2011-2022 走看看