Beispiel #1
0
        private void Bind()
        {
            string aid = Request.QueryString["aid"] == null ? "000" : Request.QueryString["aid"].ToString();//游戏ID

            BLL.OPD2C_WEB.GameInfo   oper = new BLL.OPD2C_WEB.GameInfo();
            Model.OPD2C_WEB.GameInfo type = new Model.OPD2C_WEB.GameInfo();
            if (aid != "000")
            {
                type     = oper.Game_Detail(Convert.ToInt32(aid));
                ip_icon  = type.GameIcon.ToString();
                ip_area  = type.GameIPArea.ToString();
                ip_type  = type.GameIPType.ToString();
                ip_style = type.GameIPStyle.ToString();
                ip_infor = type.GameInfor.ToString();
                r_b_pic_list.DataSource = str_to_DataTable(type.GamePic_B.ToString());
                r_b_pic_list.DataBind();
                r_s_pic_list.DataSource = str_to_DataTable(type.GamePic_S.ToString());
                r_s_pic_list.DataBind();
            }
        }
Beispiel #2
0
        private void Bind()
        {
            string aid = Request.QueryString["aid"] == null ? "000" : Request.QueryString["aid"].ToString();//游戏ID

            BLL.OPD2C_WEB.GameInfo   oper = new BLL.OPD2C_WEB.GameInfo();
            Model.OPD2C_WEB.GameInfo type = new Model.OPD2C_WEB.GameInfo();
            if (aid != "000")
            {
                type                    = oper.Game_Detail(Convert.ToInt32(aid));
                app_icon                = type.GameIcon.ToString();
                app_type                = type.GameType.ToString();
                app_platform            = type.GamePlatform.ToString();
                app_phase               = type.GameStage.ToString();
                app_percentage          = type.GameCompleteness.ToString();
                app_need                = type.GameDemand.ToString();
                app_infor               = type.GameInfor.ToString();
                r_b_pic_list.DataSource = str_to_DataTable(type.GamePic_B.ToString());
                r_b_pic_list.DataBind();
                r_s_pic_list.DataSource = str_to_DataTable(type.GamePic_S.ToString());
                r_s_pic_list.DataBind();
            }
        }