You can access Profile properties, by using the following syntax:
Download the TableProfileProvider Samples at www.asp.net.
The main difference in getting it to work properly in a Web Project as opposed to a Web Site is that, for a Project, you may need to create a custom profile class to define your profile properties. (VB samples or C# samples).
Once the custom profile class is created, remember to remove the profile properties from the Web.Config file. Otherwise, you will receive the following error: “This profile property has already been defined.”
Using the TableProfileProvider with a custom profile class in which you define properties, will once again enable you to access properties in IntelliSense in your Web Project.
The syntax for accessing the profile properties will be as follows: