<style type="text/css">
<!--
.datable {background-color: #9FD6FF; color:#333333; font-size:12px;}
.datable tr {height:20px;}
.datable .lup {background-color: #C8E1FB;font-size: 12px;color: #014F8A;}
.datable .lup th {border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF;font-weight: normal;}
.datable .lupbai {background-color: #FFFFFF;}
.datable .trnei {background-color: #F2F9FF;}
.datable td {border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF;}
-->
</style>
<asp:GridView ID="GridView1" runat="server"  Width="1200px"  CssClass="datable" border="0" CellPadding="2" CellSpacing="1" OnRowDataBound="GridView1_RowDataBound" AutoGenerateColumns="False">
<RowStyle CssClass="lupbai" />
<HeaderStyle CssClass="lup" />
<AlternatingRowStyle CssClass="trnei" />
<Columns>
<asp:BoundField DataField="mac_id" HeaderText="登陆计算机">
<HeaderStyle Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="u_id" HeaderText="用户代号">
<HeaderStyle Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="op_time" HeaderText="时间" HtmlEncode="False">
<HeaderStyle Width="120px" />
</asp:BoundField>
<asp:BoundField DataField="op_system" HeaderText="字系统名称">
<HeaderStyle Width="120px" />
</asp:BoundField>
<asp:BoundField DataField="op_type" HeaderText="操作类型">
<HeaderStyle Width="120px" />
</asp:BoundField>
<asp:BoundField DataField="op_number" HeaderText="操作数量">
<HeaderStyle Width="50px" />
</asp:BoundField>
<asp:BoundField DataField="op_content" HeaderText="操作内容">
<HeaderStyle Width="400px" />
</asp:BoundField>
</Columns>
</asp:GridView>

转自:http://blog.csdn.net/ycyangcai/article/details/3519499

最新文章

  1. zookeeper源码分析之六session机制
  2. C#通过WebClient/HttpWebRequest实现http的post/get方法
  3. jquery插件的两种形式
  4. JS 之BOM
  5. Redis 下载
  6. Large-Scale Deployment of SharePoint Team Services
  7. sql2005主从数据库同步配置
  8. 在.net Core 中像以前那样的使用HttpContext.Current
  9. 2 hive的使用 + hive的常用语法
  10. java注意事项演示 地图产生表 演示样本 来自thinking in java 4 20代码的章
  11. JavaScript 图片轮播入门
  12. hibernate的反转引擎生成两个实体类的问题
  13. springboot:集成fastjson(教训)
  14. 双系统Windows时间不同步的解决办法
  15. win7查看其它工作组 win7 所有工作组
  16. KPPW2.5 漏洞利用--SQL注入
  17. Enjoy Markdown!
  18. 20155304《网络对抗》MSF基础应用
  19. Javascript Jquery 中的数组定义与操作
  20. crsf 跨站请求伪造

热门文章

  1. 计算机中的概念: 视图 VS 镜像
  2. Safari不兼容Javascript中的Date问题
  3. 大数据开发实战:Stream SQL实时开发三
  4. win7下使用Taste实现协同过滤算法
  5. Eclipse使用hibernate插件
  6. GPUImage简单滤镜使用之色阶(三)
  7. 【Python】使用geopy由地址找经纬度等信息
  8. js undefined易错分析
  9. 牛客网-《剑指offer》-重建二叉树
  10. ios 开发 ping