HighTechTalks DotNet Forums  

appsetting read write

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss appsetting read write in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Thomas
 
Posts: n/a

Default appsetting read write - 12-17-2005 , 09:07 AM






I can not do this when using the pocket framework.
public static string UserName

{

get

{

return System.Configuration.ConfigurationManager.AppSetti ngs["UserName"];

}

set

{

System.Configuration.ConfigurationManager.AppSetti ngs.Set("UserName",
value);

}

}



I have no chance to add these assemblies using the pocket framework.

Error 2 The type 'System.Collections.Specialized.NameValueCollectio n' is
defined in an assembly that is not referenced. You must add a reference to
assembly 'System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.

Error 3 Cannot apply indexing with [] to an expression of type
'System.Collections.Specialized.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.