//修改收货地址 protected void btn_ChangeAddressClick(object sender, EventArgs e) { if (this.textPhoneLabel.Visible == false) //电话号码输入正确 { int UserID = Convert.ToInt32(Session["UserID"]); string name = this.textRevName.Text; string phone = this.textPhone.Text; string address = this.Address.Text; uc.ChangeUserAddress(UserID, name, phone, address); Response.Write(cc.MessageBox("修改成功!")); } else { Response.Write(cc.MessageBox("修改失败,请先检查输入是否有误!")); } }