Use HttpUtility and NameValueCollection in c# of Visual Studio 2010

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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章