【发布时间】:2014-12-11 14:26:25
【问题描述】:
在我的程序顶部,我有以下内容:
using System.Configuration;
在我的代码中,我有以下内容:
int CompanyID = Convert.ToInt32(ConfigurationManager.AppSettings["CompanyId"]
.ToString());
我收到以下错误:
The name 'ConfigurationManager' does not exist in the current context
我不确定我错过了什么。
【问题讨论】:
-
您可能会得到googled 自己的答案。 :)
标签: c# .net configurationmanager