Any one can give a example for working with Profile object in asp.net 2.0
This is my web.config file like below
<profile>
<properties>
<add name="Name" type="System.String"/>
</properties>
</profile>
Set Value for Profile like below
Profile.Name=txtName.Text;
Accessing Profile
Lable2.Text=Profile.Name;
But while runing it is giving error like "Unable to connect Sql server" like this...
Please Provide how to work with Profile..
Thanx
Ravi