Web/index.aspx.cs

(开头部分) 3KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using Bll;
using Common;
using System.Text.RegularExpressions;
using System.Data;
using System.Web.UI.HtmlControls;
//System.Web.UI.Page
namespace Web
{
    public partial class index : Web.PrePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BNews bn=new BNews();
            if (!IsPostBack)
            {
                ////绑定新闻中心列表
                //this.Repeater1.DataSource = bn.GetlistValue(" top 6 ", "where NS_Id=1");
                //this.Repeater1.DataBind();
                // 下载于www.51aspx.com
                //绑定新闻中心列表
                this.Repeater1.DataSource = bn.GetlistValue(" top 6 ", "where NS_Id=1 ");
                this.Repeater1.DataBind();

                //绑定公告栏
                this.reperGongGao.DataSource = bn.GetlistValue("top 4", " where NS_Id=2 ");
                this.reperGongGao.DataBind();

                MCompany mc = new BCompany().GetModel(22);

                //绑定生活剪彩图片
                this.reperBBFC.DataSource = new BBaoBao().GetListValues(" * ", " and P_SortId=1");
                this.reperBBFC.DataBind();

                //绑定安全教育模块
                this.reperBBJY.DataSource = new BYuanSuo().GetListValues("", "where P_SortId=1 or P_SortId=2 or P_SortId=3 ");
                this.reperBBJY.DataBind();

                //绑定教师风采模块
                this.reaperJiaoshi.DataSource = new BProject().GetLists(" where P_SortId=1");
                this.reaperJiaoshi.DataBind();
                // 下载于www.51aspx.com
                //绑定宝宝活动模块
                this.repHuoDong.DataSource = new BBaoBao().GetLists(" order by P_Order desc");
                this.repHuoDong.DataBind();

                HtmlMeta
                    keywords = new HtmlMeta(),
                    description = new HtmlMeta();
                keywords.Name = "keywords";
                description.Name = "description";
                keywords.Content = base.Keywords;
                description.Content = base.Description;
                this.Page.Title = base.Title;
后面还有 31 行代码,解锁后查看完整代码

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

AI 解读

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

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