コード例 #1
0
        private void BindSenceData()
        {
            if (ScenceID != 0)
            {
                ScenceModel CurrentSence = new ScenceBll().GetModel(ScenceID);
                Literal_SenceName.Text = CurrentSence.ScenceName;
            }
            else
            {
                Literal_SenceName.Text = "所有套装";
            }

            Repeater_Sence.DataSource = new ScenceBll().GetModelList("sencetype = 0");
            Repeater_Sence.DataBind();
        }
コード例 #2
0
 private void BindScenceList()
 {
     Repeater_Sence.DataSource = new ScenceBll().GetModelList("sencetype = 0");
     Repeater_Sence.DataBind();
 }