gridview布局_GridView

gridview布局_GridView 不好意思..借用借用,拿出来晒下linkhref=”StyleSheet.css”rel=”stylesheet”type=”text/css”/>linkhref=”GamerGridView.css”rel=”stylesheet”type=”text/css”/> StandardGridViewdeclaration:/par??/c

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE稳定放心使用

 

不好意思..借用借用,拿出来晒下

gridview布局_GridView

<link href=”StyleSheet.css” rel=”stylesheet” type=”text/css” />

<link href=”GamerGridView.css” rel=”stylesheet” type=”text/css” />

 Standard GridView declaration:

<asp:GridView ID=”GridView1″ runat=”server” AllowPaging=”True” AllowSorting=”True”

            AutoGenerateColumns=”False” CssClass=”GridViewStyle” DataKeyNames=”CustomerID” DataSourceID=”ObjectDataSource1″

            GridLines=”None”>

            <Columns>

                <!– Your columns here –>

            </Columns>

            <FooterStyle CssClass=”FooterStyle” />

            <RowStyle CssClass=”RowStyle” />

            <EmptyDataRowStyle CssClass=”EmptyRowStyle” />

            <PagerStyle CssClass=”PagerStyle” />

            <SelectedRowStyle CssClass=”SelectedRowStyle” />

            <HeaderStyle CssClass=”HeaderStyle” />

            <EditRowStyle CssClass=”EditRowStyle” />

            <AlternatingRowStyle CssClass=”AltRowStyle” />

        </asp:GridView>

 

/*GridViewCSS Glass Black Style*/

.GridViewStyle

{

    font-family: Arial, Sans-Serif;

    font-size:small;

    table-layout: auto;

    border-collapse: collapse;

    border: #1d1d1d 1px solid;

}

/*Header and Pager styles*/

.HeaderStyle

{

    background-image: url(Images/HeaderGamer_left.jpg);

    background-position:left;

    background-repeat:repeat-x;

    height:30px;

}

.PagerStyle

{

    background-image: url(Images/PagerGamer.jpg);

    background-position:top;

    background-repeat:repeat-x;

}

.HeaderStyle th

{

    padding: 0px;

    color: #ffffff;

}

.HeaderStyle a:link, a:visited

{

    text-decoration:none;

    color:#ffffff;

    display:block;

    text-align:left;

    font-weight:normal;

    border-left:solid 1px #666666;

    border-right:solid 1px #1d1d1d;

    padding-top:25px;

    padding-bottom:9px;

    padding-right:5px;

    padding-left:5px;

    background-image: url(Images/HeaderGamer.jpg);

    background-position:top;

    background-repeat:repeat-x;

}

.HeaderStyle a:hover

{

    background-image: url(Images/HeaderGamer_Hover.jpg);

    background-position:top;

    background-repeat:repeat-x;

}

.PagerStyle table

{

    text-align:center;

    margin:auto;

}

.PagerStyle table td

{

    border:0px;

    padding:5px;/*padding around pager numbers */

}

.PagerStyle td

{

    border-top: #1d1d1d 1px solid;/*top border of pager*/

    height:40px;

}

.PagerStyle a

{

    color:#ffffff;

    text-decoration:none;

    padding:2px 10px 2px 10px;

    /*border around pager numbers*/

    border-top:solid 1px #777777;

    border-right:solid 1px #333333;

    border-bottom:solid 1px #333333;

    border-left:solid 1px #777777;

}

.PagerStyle span

{

    font-weight:bold;

    color:#FFFFFF;

    text-decoration:none;

    padding:2px 10px 2px 10px;

}

/*RowStyles*/

.RowStyle td, .AltRowStyle td, .SelectedRowStyle td, .EditRowStyle td /*Common Styles*/

{

    padding: 5px;

    border-right: solid 1px #1d1d1d;

}

.RowStyle td

{

    background-color: #333333;

    color: #ffffff;

}

.AltRowStyle td

{

    background-color: #1d1d1d;

    color:#ffffff;

}

.SelectedRowStyle td

{

    background-color: #ffff66;

}

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/190039.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • maven的热部署

    maven的热部署在tomcat中配置用户权限,即添加管理员帐号 在根目录/conf/tomcat-users.xml 里添加下面的代码 &lt;rolerolename="manager-gui"/&gt;&lt;rolerolename="manager-script"/&gt;&lt;userusername="admin"password="admin"roles="mana

    2022年5月18日
    36
  • 完全删除SQL SERVER[通俗易懂]

    完全删除SQL SERVER[通俗易懂]    我们在安装SQLSERVER的时候,有时会出现问题,而在重新安装的时候,有时候会因为上次安装遗留的东西而导致本次安装失败,所以完全删除SQLSERVER比较重要。完全删除方法如下:      1、控制面板里删除。2、安装目录文件夹删除。3、注册表删除。4、安装windows install clean up 删除所有sql相关的东西。    …

    2022年9月26日
    3
  • MySQL数据库中varchar与char类型的区别

    MySQL数据库中varchar与char类型的区别

    2021年11月5日
    47
  • REST API和SOAP API区别[通俗易懂]

    REST API和SOAP API区别[通俗易懂]RESTAPI优点:1.轻量级的解决方案,不必向SOAP那样要构建一个标准的SOAPXML。2.可读性比较好:可以把URL的名字取得有实际意义。3.不需要SDK支持:直接一个Http请求就可以,但是SOAP则可能需要使用到一些Webservice的类库(例如Apache的Axis)缺点:1.复杂的应用中,URL可能非常长,而且不容易解析。SOAPAPI优点:1.定…

    2022年7月13日
    30
  • 唯一索引和普通索引的区别

    唯一索引和普通索引的区别一、背景介绍索引用来快速地寻找那些具有特定值的记录,如果没有索引,执行查询时Mysql必须从第一个记录开始扫描整个表的所有记录,直至找到符合要求的记录,表里面的记录数量越多,这个操作的代价就越高,如果作为搜索条件的列上已经创建了索引,mysql无需扫描任何记录即可迅速得到目标记录所在的位置。如果表有一千个记录,通过索引查找记录至少要比顺序扫描记录快100倍。所以对于现在的各种大型数据库来说,索…

    2022年9月19日
    4
  • Python入门篇-基础语法

    Python入门篇-基础语法Python入门篇-基础语法作者:尹正杰版权声明:原创作品,谢绝转载!否则将追究法律责任。一.编程基础1>.程序一组能让计算机识别和执行的指令。2>.电子计算机能够执行程序的

    2022年7月6日
    23

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号