首页 > 网站 > 建站经验 > 正文

asp.net计算网站访问量常用代码

2019-11-02 15:53:56
字体:
来源:转载
供稿:网友

  前台代码:  
<%@ Page Language="C#" AutoEventWireup="true"   
CodeFile="Default.aspx.cs" Inherits="_Default" %> 
<!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> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <div> 
        <table style="width: 269px; height: 75px"> 
            <tr> 
                <td align="center" style="font-weight: bold;  
font-size: 30px; width: 237px; color: lime; background-color: gray;"> 
                    网站访问量</td> 
            </tr> 
            <tr> 
                <td align="center" style="width: 237px; background-color: gray;"> 

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表