Salve,
Mi servirebbe la lista delle proprità del prifile che imposto nel web.config ma scrivendo:
foreach (SettingsProperty a in Profile.Properties)
{
Literal1.Text += a.Name;
}
Ottengo l'errore:
Static member 'System.Web.Profile.ProfileBase.Properties.get' cannot be accessed with an instance reference; qualify it with a type name instead
A cosa è dovuto??
Garzie salve a tutti
Michele
- PROBLEMA RISOLTO-
Properties è una proprietà statica, quindi per poterla utilizzare devo scrivere:
ProfileBase.Properties
Spero sia di aiuto a qualcuno
Salve