⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showuserinfo.aspx

📁 分页其他人不需帐号就可自由下载此源码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowUserInfo.aspx.cs" Inherits="ShowUserInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

    <title>用户信息</title>
    
    <style type="text/css">
        body,div {
	        font-size:13px;
	        font-family:Verdana;
        }

        .pgContainer {
	        background-color:#F9F9F9;
	        padding:10px;
	        line-height:20px;	        
	        background:url(./temp/desk.jpg);
        }

        hr {
	        margin:10px 0 10px 0;
	        border:0;
	        border-top:1px dashed #CCCCCC;
	        height:0;
        }

        table
        {
            border-collapse:collapse;
        }
            
        thead
        {
            background-color: lightblue;
        }

        h3 {
	        margin:5px 0;
	        font-size:14px;
        }    
        
        table
        {
            width:100%;
        }    
        
        th
        {
           cursor:pointer; text-align:center;
        }
        
        td{
            padding:1px 6px 1px 6px; 	
        }
        
        .alignCenter
        {
            text-align:center;
        }
        
        .hovering
        {
            background-color:#FFCCCC;
        }
        
        .odd 
        {
	        background-color:lightBlue;
        }
        .even {
	        background-color:white;
        }
  </style>
      
    <link href="jQuery/jpage/theme/default/css/jpage.css" rel="stylesheet" type="text/css" />    
    <link href="jQuery/jpage/theme/black/css/jpage.css" rel="stylesheet" type="text/css" />    
    <link href="jQuery/jpage/theme/white/css/jpage.css" rel="stylesheet" type="text/css" /> 
    
    <script type="text/javascript" src="jQuery/jquery-1.2.6.js"></script>    

    <script type="text/javascript" src="jQuery/jpage/jquery.jpage.js"></script>
    
    <script type="text/javascript" src="jQuery/cookie/jquery.cookie.js"></script>
    
    <link rel="stylesheet" href="jQuery/Tablesorter/themes/blue/style.css" type="text/css" />
    
    <script type="text/javascript" src="jQuery/Tablesorter/jquery.tablesorter.js"></script>
    
    <script type="text/javascript">
        
        
        var CountScores = 0; 
        
        var tablbefore = "<table><thead><tr><th>编号</th><th>姓名</th><th>帐号</th><th>密码</th><th>密问</th><th>密钥</th><th>QQ</th><th>E-mail</th><th>积分</th><th>状态</th></tr></thead>";  
           
        var orderBy = {
		    'orderBy':encodeURI('usNickName')
	    };
        
        jQuery(document).ready(function(){   
        
           CountScores = ShowUserInfo.GetUserCount().value;
                    
           $('#ShowUserInfo')
            .jpage({
                    totalRecord:CountScores,
                    proxyUrl:'GetUserInfo.aspx',
                    groupSize:1,
                    perPage:15,
                    barPosition:'top&bottom',
                    showMode:'full',
                    dataBefore:tablbefore,
                    dataAfter:'<table />',
                    themeName:'black',
                    ajaxParam:orderBy
                });
            
	    });
	    
	    var TableSort = function()
	    {
	        $("table").tablesorter();
	        //assign the sortStart event
	        //$("table").bind("sortStart",function() {
		        //$("#overlay").show();
	        //}).bind("sortEnd",function() {
		       // $("#overlay").hide();
	        //});
	    }
	    
	    var AddTableHover = function()
	    {
	        jQuery("table tbody tr")
	        .not('tr:lt(2)')
	        //.not('tr:gt(3)')
            .hover(function(){
                           $(this).addClass('hovering');
                        },function(){
                           $(this).removeClass('hovering');
                        });
	    }
	    
    </script>
    
</head>
<body style="text-align: center">
    <form id="form1" runat="server">
    <div>
        
        <div style="width: 800px; height: 100%">
            <div style="width: 100%;">
               <h2>用户信息</h2> 
            </div>
            <hr style="height: 5px; background-color: #ff3300" />
            
            <div id="ShowUserInfo" style="width: 100%; height: 100%; text-align:left;">
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -