Author: Appelman | Posted on: 9/21/2010 2:38:06 AM | Views : 452

Hi all,
Im having problems implementing user controls for an ASP.NET site i wish to create.
I would like to take you throught the process i took, can anyone please tell me where i went wrong.
First I ran the aspnet_regsql.exe wizard and I provided details to connect to a SQL Express database that i have created. After doing this, I checked the machine.config, and there where no changes made to add the DB as a profile provider. Then I added this to my web.config:
<profile> <properties> <add name="Name" type="System.String" /> <add name="Surname" type="System.String" /> </properties> </profile>
I then ran the web application. From what I've read, this should add a dynamically created class callled ProfileCommon, and the i should be able to access the profile properties like this:
Profile.Name = Text ...

Go to the complete details ...