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

Which method is used to perform all validation at the page level?

530


How u refer webservices?

1485


To bind columns manually which tags do you need to add within the asp:datagrid ?

545


Can I have a unique key as foreign key?

533


Is it possible to change the index of primary key on table?

405






What is DataGrid wheater its a Server Control or something else ?

595


How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?

520


What is server side in asp.net?

490


what is a .xap file? Explain with an example.

585


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1413


What are the various ways to send content from one page to another?

518


What are directives in asp.net? List down all the important directives.

494


Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

535


What is asp.net futures?

566


Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

566