后台方法,前台如何使用
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); } }}