示例#1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            b_Member = new BLL.Member();

            if (!IsPostBack)
            {
                switch (g_Action_ID)
                {
                    case 2:
                        if (g_Member_ID == 0)
                            ResponseError("参数错误");

                        GetMember();
                        break;

                    case 3:
                        if (g_Member_ID == 0)
                            ResponseError("参数错误");

                        b_Member.Delete_Member(g_Member_ID);
                        ResponseClose("删除成功");
                        break;

                    case 4:
                        if (g_Member_ID == 0)
                            ResponseError("参数错误");

                        ToVIP();
                        ResponseClose("转换成功");
                        break;
                }
            }
        }