Author: shapper | Posted on: 10/10/2008 8:25:16 PM | Views : 265

 Hi,

I want to access the profile from the current user. Shouldn't it be as simple as:

Profile.PostalCode = "1000";

However, when I write Profile on my C# code it is not recognized. Do I need to import any namespace?

In my Web.Config I have:

    <profile defaultProvider="ProfileProvider" enabled="true">

      <providers>
        <clear/>
        <add
          applicationName="MyApp"
          connectionStringName="ApplicationServices"
          name="ProfileProvider"
          type="System.Web.Profile.SqlProfi ...

Go to the complete details ...