count.aspx.cs

(完整代码) 1KB

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
    	//该源码下载与http://www.51aspx.com
    	
        //记数器
        int c = (int)Application["count"];
        int dc = (int)Application["day_count"];
        string count = c.ToString();//转换为字符串
        string day_count = dc.ToString();
        //根据字符串每位的值调用图片
        for (int i = 0; i < count.Length;++i )
        {
            int n = count.Length;
            Image img=new Image();
            
            img.ImageUrl="~\\count\\"+count[i]+".gif";
            ph1.Controls.Add(img);
        }
        for (int i = 0; i < day_count.Length;++i )
        {
            int n = day_count.Length;
            Image img = new Image();
            img.ImageUrl="~\\count\\"+day_count[i]+".gif";
            ph2.Controls.Add(img);
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。