Use HttpUtility and NameValueCollection in c# of Visual Studio 2010

来源:互联网 发布:数据统计分析报告模板 编辑:程序博客网 时间:2024/05/19 12:37

Class NameValueCollection is in the namespace System.Colletions.Specialized

Class HttpUtility is in the namespace System.Web, also we need to do following two things:

1, Changing .Net Framework 4 Client Profile to .Net Framework 4

2, Add a new reference by choosing the tab "Browse...". Dig into the C:/windows/microsoft .net/framework/v4.0.30319/ directory and choose System.Web.dll from there.

原创粉丝点击