progarm to decode and encode a text

Posted by Vijayar under C# on 4/6/2011 | Points: 10 | Views : 1490 | Status : [Member] | Replies : 2
please help me to decode and encode a text given

vijaya


Responses

Posted by: SheoNarayan on: 4/6/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Vijay,

Use methods that is available in ASP.NET if you are using ASP.NET


string s = Server.HtmlEncode("fsdfAS");

string ss = Server.HtmlDecode("fsdaF");


If you need to do it in pure C#, you can use this article example http://www.codeproject.com/KB/cs/base64encdec.aspx.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 4/6/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Check the below links

http://www.vbforums.com/showthread.php?t=287324

http://www.codeproject.com/KB/cs/base64encdec.aspx

Thanks
Karthik
www.f5Debug.net

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response