测试一下吧

我来测试测试啊

白哦个
地图图片
Technorati 标签:
吸血蝙蝠黑羊XBox

 

 

rain1280_1024

 

 

 

    //更新会员信息

        [AcceptVerbs(HttpVerbs.Post)]

        public ActionResult UpdatePer()

        {

            int idd = int.Parse(Request.Form["c_id"]);

            Custom cus = new Custom();

            cus.c_name = Request.Form["c_name"];

            cus.c_iden = Request.Form["c_iden"];

            cus.c_pwd = Request.Form["c_pwd"];

            cus.c_sex = Request.Form["c_sex"];

            cus.c_email = Request.Form["c_email"];

            cus.c_tel = Request.Form["c_tel"];

            cus.c_integral = int.Parse(Request.Form["c_integral"]);

            cus.c_level = int.Parse(Request.Form["c_level"]);

            bool a=c.update(idd, cus);

            if (!a)

            {

                Response.Write("{success:false}");

            }

            else

            {

                Response.Write("{success:true}");

            }

            Response.End();

            return null;

        }

你可能感兴趣的:(测试)