1

Possible Duplicate:
strong-typed profile values in ASP.NET membership (MVC)

Currently i am inserting data in profile by using this profile.SetPropertyValue("prop", data);but i want to know that is there any way so that i can use something like profile.prop = data; instead of profile.SetPropertyValue("prop", data); to insert data in profile and also get `profile properties in dropdownlist.

Community
  • 1
  • 1
Gaurav
  • 8,367
  • 14
  • 55
  • 90

1 Answers1

0

If I understood well, you can do that by creating an inherited profile (from ProfileBase)

Not sure if that's still "up-to-date", but it seems it's rather well explained here :

http://odetocode.com/articles/440.aspx

Raphaël Althaus
  • 59,727
  • 6
  • 96
  • 122