Why is System.Web.HttpUtility.UrlEncode giving namespace name doesn't exist in Visual C# 2008?

前端 未结 4 1314

I\'m trying to encode a URL using the HttpUtility.UrlEncode() method, why am I getting

The type or namespace name \'HttpUtility\' does not e

4条回答
  •  死守一世寂寞
    2021-02-02 11:11

    1. click on project tab in menu
    2. click on Add References
    3. in References window click on Framework and check the System.Web

提交回复
热议问题