62,046
社区成员
发帖
与我相关
我的任务
分享
<profile automaticSaveEnabled="true" defaultProvider="SqlProvider" >
<providers>
<clear/>
<add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="SQLProfileConnString" applicationName="/" />
</providers>
<properties>
<add name="ProfileUserInfo" type="Model.ProfileUserInfo" allowAnonymous="true" />
</properties>
</profile>
<profile defaultProvider="SqlProvider">//修改存储才需要
<providers>
<clear />
<add name="SqlProvider"
type="System.Web.Profile.SqlProfileProvider"
connectionStringName="SqlServices"
applicationName="SampleApplication"
description="SqlProfileProvider for SampleApplication" />
</providers>
<properties>
<add name="ZipCode" />
<add name="CityAndState" />
</properties>
</profile>
</system.web>