日期:2014-05-18 浏览次数:20479 次
public partial class checkUser : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } public void Insert() { string real_name = Request.Form["NameReal"]; string real_card = Request.Form["CardReal"]; string UserId = ((AccountInfo)Session["Account"]).Id.ToString(); GP2Shop.IDAL.IAccount iaccount = GP2Shop.Web.BLLProxy.CreateAccout(); if (!string.IsNullOrEmpty(UserId)) { iaccount.UpdateRealInfoByID(int.Parse(UserId), real_name, real_card); } } }