show_detail.aspx.cs

(开头部分) 1KB

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

using System;
using System.Data;
using System.Data .OleDb ;
using System.Configuration;
using System.Collections;
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 show_detail : System.Web.UI.Page
{ 
    //DataTable add_article_reply=new DataTable() ;
    public int current_article_id;
    protected void Page_Load(object sender, EventArgs e)
    {
       /* try
        {
            if (Session["user_level"].ToString().Equals ("1"))
            {
            }
            else
            {
                throw new ArgumentNullException();
            }
        }
        catch 
        {
            Response.Redirect("register.aspx?");
            Response.End();
        }*/
        try
        {
            current_article_id = Int32.Parse(Request.QueryString.Get(1));
        }
        catch
        {
            current_article_id = 0;
        }
        comment.Visible = false;
        AccessDataSource2.DataBind();
        FormView1.DataBind();
    }
    protected void add_reply_Click(object sender, EventArgs e)
    {
        //Label5.Text = current_article_id.ToString();
        comment.Visible = true;
        AccessDataSource2.DataBind();
        FormView1.DataBind();
        new_list.bind();
    }
    protected void comment_view_InsertCommand(object sender, EventArgs e)
    {
        AccessDataSource2.DataBind();
        FormView1.DataBind();
    }
    protected void Comment_OnLoad(object sender, EventArgs e)
    {
        AccessDataSource2.DataBind();
后面还有 7 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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