using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CB.Framework; using CB.Common; using System.Text; using CB.Entity; using System.Text.RegularExpressions; namespace CB.Wap { public partial class list : WebPage { protected StringBuilder sp = new StringBuilder(); protected string lotteryName = ""; protected void Page_Load(object sender, EventArgs e) { InitData(); header1.ColumnName = lotteryName; } protected override void InitData() { var cid = WRequest.GetQueryInt("cid"); var lottery = CB.Data.Caches.GetLotteryInfo(cid); if (null == lottery) { ShowError(); return; } lotteryName = lottery.Name; var css = GetLotteryLogoCss(lottery.Cid); //switch (lottery.Id) //{ // case 1: // css = "fc3d"; // break; // case 2: // css = "p3"; // break; // case 3: // css = "p5"; // break; // case 4: // css = "ssq"; // break; // case 5: // css = "qlc"; // break; // case 9: // css = "22x5"; // break; // case 12: // css = "dlt"; // break; // case 19: // css = "qxc"; // break; // default: // css = "fc3d"; // break; //} var list = CB.Data.Caches.GetTrendChartList(cid, 2001, 0); if (null != list && 0 < list.Count) { sp.Append("