Why isn't HttpUtility class being recognised?

后端 未结 1 530
天涯浪人
天涯浪人 2021-02-13 20:28

I am trying to call the static HttpUtility.UrlEncode in my VB.NET project, but the IDE is not recognising the class saying that it is not declared.

I have i

1条回答
  •  深忆病人
    2021-02-13 20:32

    Add a reference to System.Web.dll to your project.

    0 讨论(0)
提交回复
热议问题