TrendToolListItemEdit.aspx.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. using CB.Framework;
  8. using CB.Data;
  9. using CB.Entity;
  10. using CB.Common;
  11. namespace CB.Admin.Plugins.TrendTool
  12. {
  13. public partial class TrendToolListItemConfig : AdminPage
  14. {
  15. protected void Page_Load(object sender, EventArgs e)
  16. {
  17. if (!IsPostBack)
  18. { LoadData(); }
  19. }
  20. private void LoadData()
  21. {
  22. int ConfigId = WRequest.GetInt("ConfigID", 0);
  23. TrendToolItemConfigInfo entity = new TrendToolItemConfigInfo();
  24. entity.ConfigID = ConfigId;
  25. IList<TrendToolItemConfigInfo> lists = new List<TrendToolItemConfigInfo>();
  26. lists = TrendToolItemConfigService.GetToolItemConfig(entity);
  27. repeaterList.DataSource = lists;
  28. repeaterList.DataBind();
  29. }
  30. protected void btnUpdate_Click(object sender, EventArgs e)
  31. {
  32. }
  33. protected void repeaterList_ItemCommand(object source, RepeaterCommandEventArgs e)
  34. {
  35. }
  36. }
  37. }