ASP.NET-在pagemethod中更改配置文件信息?

| 我只能获取数据,但如何设置。
        ProfileBase pc = HttpContext.Current.Profile;
        pc.PropertyValues[\"field\"] = false; //error
        pc.Save();
\'\'\'\'\'\'\'\'\'\'\'\'\' 好的,我无法从web方法访问HttpContext.Current.Profile.FieldName,但是我可以:
projectPage thisPage = new projectPage ();
thisPage.updateProfile(HttpContext.Current.User.Identity.Name);
    
已邀请:
 HttpContext.Current.Profile.FieldName = \"Set your Value\";
有关详细信息,请在ASP.NET 2.0中检查此文章配置文件。     

要回复问题请先登录注册