tool_3dhzscb.aspx.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. namespace CB.Wap.column
  9. {
  10. public partial class tool_3dhzscb : WebPage
  11. {
  12. protected string columnName = "", css = "", openDay = "", openInfo = "", columnAbout, logo = "";
  13. protected string columnNav = "";
  14. protected void Page_Load(object sender, EventArgs e)
  15. {
  16. InitData();
  17. }
  18. protected override void InitData()
  19. {
  20. var entity = CB.Data.Caches.GetColumnInfo("3dhzscb");
  21. if (null == entity) { ShowError(); return; }
  22. columnName = entity.Name;
  23. columnAbout = entity.About;
  24. logo = entity.Logo;
  25. pageTitle = entity.hTitle;
  26. pageKeyWords = entity.hKeywords;
  27. pageDescription = entity.hDescription;
  28. this.header1.ColumnName = entity.Name;
  29. columnNav = GetColumnNavForWap(entity.Lottery);
  30. base.InitData();
  31. }
  32. }
  33. }