Backup/LMListForPublic.aspx.cs

(开头部分) 9KB

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

using System;
using System.Data;
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;
using System.Windows.Forms;

using LeaveMessageMVC.MVC.BusinessLogicLayer.ParameterInformation;
using LeaveMessageMVC.MVC.DataBaseControlLayer;
using LeaveMessageMVC.MVC.BusinessLogicLayer;
using LeaveMessageMVC.MVC.BusinessLogicLayer.SomeFunctions;

//该源码下载自www.51aspx.com(51aspx.com)
//edit by 51aspx
    public partial class LMListForPublic : System.Web.UI.Page
    {
      LeaveMessageMVC.MVC.BusinessLogicLayer.ParameterInformation.LeaveMessagePara LMP = new LeaveMessagePara();
        int f=0;
        const int cPageSize = 15;                   //设置分页控件每页显示的行数

        protected void Page_Load(object sender, EventArgs e)
        {
            if(Application["TableCount"]!=null)

            f = (int)Application["TableCount"];

            if (!Page.IsPostBack)
            {
                //禁止浏览器的缓存,防止用户发布信息后点“后退”返回到原来未发布的状态(虽然实际数据已写入DB)
                Response.Cache.SetNoStore();
                Response.Cache.SetNoServerCaching();

                Response.Write("<script type=\"text/javascript\">");
                Response.Write("function CtrlEnter(button){");
                Response.Write("if(event.ctrlKey && event.keyCode==13)document.all[button].click();}");
                //Response.Write("var floor=" + Application["TableCount"] + ";");
                //Response.Write("function NextFloor(){floor--;}");
                Response.Write("</script>");
                TBcontents.Attributes.Add("onkeydown", "CtrlEnter('Submit');");

                if (Session["BUser"] != null)
                {
                    TBuser.Text = Session["BUser"].ToString();
                    //Session["BUser"] = null;
                }
                if (Session["QQorMSN"] != null)
                {
                    TBQQMSN.Text = Session["QQorMSN"].ToString();
                    //Session["QQorMSN"] = null;
                }

                if (Session["PageNumber"] != null)
                {
                    LMBind((int)Session["PageNumber"]);
                    Session["PageNumber"] = null;
后面还有 175 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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