Пример #1
0
        protected void Button2_Click(object sender, EventArgs e)
        {
            Model.wx_userweixin weixin = GetWeiXinCode();
            int wid = weixin.id;

            Model.wx_userweixin model = new Model.wx_userweixin();
            if (wx_number.Text == null || wx_number.Text == "")
            {
                Button2.Text = "规则不能为空";
            }
            else
            {
                model.extInt = int.Parse(wx_number.Text.Trim());
                model.id     = wid;
                bll.Updata_kefu(model);
                Button2.Text = "写入成功";
            }
        }