Author: peterafonin | Posted on: 2/28/2010 4:08:06 PM | Views : 502

Hello,
I need to retrieve the user data from the different web application. In the web.config I can specify different profiles, but I cannot figure out how can I use it in the application. This is what I did:
<profile defaultProvider="i90PartnerProfileProvider">
<providers>
<clear/>
<add name="i90PartnerProfileProvider"
type="System.Web.Profile.SqlProfileProvider"
connectionStringName="i90Partner"/>
<add name="i90ProfileProvider"
type="System.Web.Profile.SqlProfileProvider" connectionStringName="i90"/>
</providers>
<properties>
........
</properties>
</profile>
On this page I need to use the i90ProfileProvider which is not a default provider and retrieves the data from a different SQL database using a different connection string (i90).
...

Go to the complete details ...