Author: Actuality | Posted on: 9/25/2009 7:19:02 AM | Views : 484

As you might know, when you create custom profiles, data is stored in a string separated by semicolon.  If you enter a List<string> of data into a property for your custom profile class (public class MyProfile : ProfileBase), you would use:

[SettingsAllowAnonymous(false)]
public List<string> Data
{
    get { return base["Data"] as List<string>; }
    set { base["Data"] = value; }
}
In the database it's stored as:
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <string>data1</string>
  <string>data2</string>
  <string>data3</string>
  <string>data4</string>
  <string>data5</string>
</ArrayOfString>
My question is, how could I adapt this to us ...

Go to the complete details ...