G
Guest
I have a dll file that i am trying to use the Server.Encode function.
so i have added a reference to System.Web;
but when im trying to delcare:
HttpServerUtility mServer = new HttpServerUtility();
return mServer.HtmlEncode(strValue);
i get the following error:
Error The type 'System.Web.HttpServerUtility' has no constructors defined
Is there a list to find what constructors to use? how do you know how to
declare if you dont have any references or examples of this?
so i have added a reference to System.Web;
but when im trying to delcare:
HttpServerUtility mServer = new HttpServerUtility();
return mServer.HtmlEncode(strValue);
i get the following error:
Error The type 'System.Web.HttpServerUtility' has no constructors defined
Is there a list to find what constructors to use? how do you know how to
declare if you dont have any references or examples of this?