ArticleIndex.ascx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ArticleIndex.ascx.cs" Inherits="ArticleIndex" %>
<script runat="server">
    private int newID;
    public int NewID
    {
        get
        {
            return newID;
        }
        set
        {
            this.newID = value;
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        SqlHelper data = new SqlHelper();
       
        try
        {
            dlNewTitle.DataSource = data.GetDataReader("select top 8  * from  PostMsg  where typeid=" + newID);
            dlNewTitle.DataBind();
        }
        catch (Exception ex)
        {
            System.Console.WriteLine(ex.ToString());
        }
       
       
    }
    public string SubNewTitle(string title)
    {
        SubTitle sub = new SubTitle();
        title = sub.Sub(title, 15);
        return title;
    }
  
</script>

   <table style="width: 100%;">
   
    <tr>
            <td align="left" style="width: 897px">
            
            <table style="width: 100%; height: 28px; border-bottom: #ffffff 0.1mm solid;">
                            <tr>
                                <td style="width: 58%; height: 23px;">
                                    
                                   标题
                                </td>
                                <td style="width: 14%; height: 23px">回复次数
                                    
                                               </td>
                                                
                                        <td style="width: 14%; height: 23px">查看次数
                                    
                                               </td>
                                               
                                                 <td style="width: 14%; height: 23px">
后面还有 40 行代码,购买后查看完整代码

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

AI 解读 AI

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

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