Pages

Monday, January 26, 2009

System.Web.HttpServerUtility.UrlEncode outside ASP.NET

The constructor for HttpServerUtility is internal so it can't be used outside of an ASP.NET application. Use System.Web.HttpUtility.UrlEncode instead.

No comments:

Post a Comment