WebApp/index.aspx.cs

(开头部分) 3KB

这里只显示每个文件的开头 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;

namespace RM.WebApp
{
    public partial class index : System.Web.UI.Page
    {
        protected static RM.Entity.Product myProduct;
        protected static RM.Entity.Article myArticle;
        protected static RM.Entity.Info info1, info2;
        protected static RM.Entity.SysConfig SysCfg1, SysCfg2, SysCfg3;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PBind();
                NewsBind();
                SoftBind();
                ClientBind();
                NotificBind();
                AdBind();
            }
        }

        private void AdBind()
        {
            RM.BLL.SysConfig sbll = new RM.BLL.SysConfig();
            SysCfg1 = sbll.GetEntity(2);
            SysCfg2 = sbll.GetEntity(3);
            SysCfg3 = sbll.GetEntity(4);
        }

        private void NotificBind()
        {
            RM.BLL.Info ibll = new RM.BLL.Info();
            repNotific.DataSource = ibll.GetTopList(3, "ClassID=1");
            repNotific.DataBind();
            info1 = ibll.GetEntity(16);
            info2 = ibll.GetEntity(25);

        }

        private void ClientBind()
        {
            RM.BLL.Client clientbll = new RM.BLL.Client();
            dlGZ.DataSource = clientbll.GetList(27,"Area='广州'");
            dlGZ.DataBind();
            dlSH.DataSource = clientbll.GetList(27,"Area='上海'");
            dlSH.DataBind();
            dlBJ.DataSource = clientbll.GetList(27,"Area='北京'");
            dlBJ.DataBind();
        }
后面还有 40 行代码,购买后查看完整代码

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

AI 解读 AI

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

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