>Infatti ho provato a usare
>
>configurationmanager.appsettings.get("nomevariabile") ma non
>me la fa usare...
>
>Mi puoi dire come posso fare con un piccolo esempio ??
potresti fare come segue:
[VBNet]
Dim reader As New System.Configuration.AppSettingsReader()
Dim valore As Int32 = Convert.ToInt32(reader.GetValue("Miachiave", GetType(Int32)))
MessageBox.Show(valore)
[C#]
System.Configuration.AppSettingsReader reader = new System.Configuration.AppSettingsReader();
int valore = Convert.ToInt32(reader.GetValue("Miachiave", typeof(int)));
MessageBox.Show(valore);
Alx81 =)
http://blogs.dotnethell.it/suxstellino