コード例 #1
0
ファイル: Main.aspx.cs プロジェクト: quwujin/SM297
    protected void Bind()
    {
        Db.InfoDal dal = new Db.InfoDal();

        this.infoList.DataSource = dal.GetList("");
        this.infoList.DataBind();

        Db.DictConfigDal Dictdal = new Db.DictConfigDal();

        //this.DictionaryList.DataSource = Dictdal.GetList(" and bid=1");
        //this.DictionaryList.DataBind();

        TITLE = WebFramework.GeneralMethodBase.GetKeyConfig(10).Val;
        this.txtTITLE.Text = TITLE;
        txtStart_Time.Text = DateTime.Parse(WebFramework.GeneralMethodBase.GetKeyConfig(8).Val).ToString("yyyy年MM月dd日 HH时mm分ss秒");
        txtEnd_Time.Text   = DateTime.Parse(WebFramework.GeneralMethodBase.GetKeyConfig(9).Val).ToString("yyyy年MM月dd日 HH时mm分ss秒");
        this.IsTest.Text   = WebFramework.GeneralMethodBase.GetKeyConfig(3).States == 1 ? "是" : "否";
    }