ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
About the Usage of htmlencode and urlencode ?
 Question Submitted By :: Shaheen
I also faced this Question!!     Rank Answer Posted By  
 
  Re: About the Usage of htmlencode and urlencode ?
Answer
# 1
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 ?    3 Yes 1 No
Radha
 
  Re: About the Usage of htmlencode and urlencode ?
Answer
# 2
HTMLEncode:  converts the data to valid HTML format using 
HTML escape sequences.

eg: If you want to print "<b>hi</b>" on the screen, by 
default <b> & </b> will be treated as HTML tags for bolding 
the content. But HTMLEncode will use the escape sequences 
and print <b> instead of treating that as a HTML tag.

UTLEncode: converts the string to valid URL format using 
URL escape sequences for example %20 will be replaces if 
you have a space in the data and
 
Is This Answer Correct ?    5 Yes 1 No
Kumar
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is custom control. What is the difference between custom control and user control ? Microsoft1
Tell About Global.asax ? Keane-India-Ltd3
Define ViewState and how can it be used?  3
what is view state and its use DELL8
What are clr?cts?cls? Microsoft1
Can any one explain with the example how to capture the application error in Aplication_Error() method? Infosys1
How many rounds are there for a software programmer to clear interview in any IT industries(MNC). HCL2
can i inherit one web applications into another web applications in asp.net?  6
is it possible to access website from a remote place, without deploying it on web server?  1
What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"? SLC-Ltd3
How to identify host of my system? How to identify servername of my system? How to identify domainname of my system?  2
Difference between Response.Expires and Expires.Absolute ? Accenture1
how can i insert array values and retreive in asp.net TCS3
Which namespace in used to connction web cam  1
Types of configuration files and their differences ? Accenture1
What is the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"? Innvectra1
State management in asp.net ? Accenture5
What is Stateless ASP or ASP.Net? Accenture2
What is caching? What are the different types of caching?  5
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com