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 imported the namespaces System.Net
and System.Web
to the project.
I also have the following at the top of the file:
Imports System.Net
Imports System.Web
What am I doing wrong?
Add a reference to System.Web.dll
to your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With