Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am writing function in the class library.i cannot find server.urlencode .what is name space for include server.urlencode.i am using visual studio 2010.i am add a reference system.web .i am not getting the server.urlencode.
Posted
Updated 4-Jul-13 20:14pm
v2

 
Share this answer
 
Comments
kalisiddayya 5-Jul-13 1:57am    
i am not getting server.urlencode in the class library.i include the system.web in the reference also.
kalisiddayya 5-Jul-13 2:00am    
i am using visual studio 2010.i am getting HttpServerUtility.UrlTokenEncode method .i am not getting server.urlencode
HttpServerUtility.UrlEncode will use HttpUtility.UrlEncode internally. There is no specific difference. The reason for existence of Server.UrlEncode is compatibility with classic ASP
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900