Ejemplo n.º 1
0
    private void InitValue(string nick)
    {
        TijianParamValueService tijianDal = new TijianParamValueService();

        IList <TijianParamInfo> list = tijianDal.GetParamInfo(nick);

        if (list.Count == 0)
        {
            DataHelper.GetParam(list);
        }
        Lb_L_Liulan.Text       = list.First(o => o.ParamName == "客户浏览比率").ParamValue.ToString();
        Lb_L_SeeBack.Text      = list.First(o => o.ParamName == "浏览回头率").ParamValue.ToString();
        Lb_L_SeeDeep.Text      = list.First(o => o.ParamName == "页面访问深度").ParamValue.ToString();
        Lb_L_SellGuanlian.Text = list.First(o => o.ParamName == "销售关联度").ParamValue.ToString();
    }
Ejemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string nick = HttpUtility.UrlDecode(Request.Cookies["nick"].Value);
            IList <TijianParamInfo> list = tijianDal.GetParamInfo(nick);

            if (list.Count == 0)
            {
                DataHelper.GetParam(list);
            }

            Rpt_tijian.DataSource = list;
            Rpt_tijian.DataBind();
        }
    }