webForm/FriendLink.aspx.cs

(完整代码) 833B

using System;
using System.Data;
using System.Web;
using XkCms.BaseFunction;
using System.Web.UI.WebControls;

namespace XkCms
{
    public partial class FriendLink : Front
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Title = "友情链接 -- " + SysInfo[0];
            doh.Reset();
            doh.SqlCmd = "select LinkName,LinkURL,LinkImgPath,LinkInfo from [xk_friendlink] where state=1 and style=1 order by ordernum desc";
            dlPhoto.DataSource = doh.GetDataTable();
            dlPhoto.DataBind();
            doh.Reset();
            doh.SqlCmd = "select LinkName,LinkURL,LinkInfo from [xk_friendlink] where state=1 and style=0 order by ordernum desc";
            dlText.DataSource = doh.GetDataTable();
            dlText.DataBind();
        }
    }
}

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

AI 解读

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

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