About the Usage of htmlencode and urlencode ?

Answer Posted / radha

Use the Htmlencode method to encode input parameters when
generating display.

Use the urlencode method to encode the url's recieved as
input parameters

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is enableviewstate?

550


Explain the asp.net session state modes.

628


Can the validation occurs in server-side or client-side? If the validation occurs why should we do?

611


How long does an http session last?

535


How to create events for a control?

557






Is it possible to apply themes to an asp.net application? If yes, then how?

585


What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?

1523


How does the service stream content?

594


What is AutoPostback?

609


What is state management in .net?

622


When you use Ajax controls in the ASP.NET application?

580


How do you change the session time-out value?

587


What is session state server?

630


What does asax stand for?

528


Why does my asp.net file have multiple tag with runat=server?

583