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(); }
private void BindScenceList() { Repeater_Sence.DataSource = new ScenceBll().GetModelList("sencetype = 0"); Repeater_Sence.DataBind(); }