WELOA.Web/admin/login_guestbook.aspx.cs

(开头部分) 13KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using WELOA.Model;
using LSBLL;
using System.IO;

namespace Web.admin
{
    public partial class login_guestbook : System.Web.UI.Page
    {
        private DataSet ds = null;
        private DateSetInformation dsinfo = null;
       
        private LS_Login_Guestbook GuestbookBLL = new LS_Login_Guestbook();

      
        private LS_Manager managerBLL = new LS_Manager();
        private int nPage;
      
        private int Record_Per_Page;
       
        private string[] strManagerArr;
      

        
        protected void btnQuery_Click(object sender, EventArgs e)
        {
            if (this.tbNum.Text.Trim() != "")
            {
                this.Record_Per_Page = Convert.ToInt32(this.tbNum.Text.Trim());
            }
            else
            {
                this.Record_Per_Page = 10;
            }
            this.viewList();
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(this.lbEditId.Text);
            string text = this.tbEditNeirong.Text;
            this.strManagerArr = this.ManagerArr(this.managersloginname());
            Polytechnic Polytechnic = this.GuestbookBLL.updateguestbook(id, text, this.strManagerArr[1], this.strManagerArr[0]);
            if (Polytechnic.nException > 0)
            {
                this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('回复留言异常。')</script>");
            }
            else
            {
                this.tbEditNeirong.Text = "";
                this.viewList();
                this.table_EditLiuyan.Visible = false;
                this.table_liuyan.Visible = true;
                if (Polytechnic.rowsnum > 0)
后面还有 261 行代码,解锁后查看完整代码

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

AI 解读

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

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