I am trying to read configuration file using
ConfigurationManager.ConnectionStrings
but it is not available in vs2010.
ConfigurationSettings doesn't read connectionstring
section.
Can anyone provide some help开发者_运维技巧 on it?
You need to add a reference to System.Configuration
.
精彩评论