About the Usage of htmlencode and urlencode ?
Answers were Sorted based on User's Feedback
Answer / kumar
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 ? | 9 Yes | 3 No |
Answer / 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 |
What is the used of "ispostback" property?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
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?
How can u sort strings in array where strings are passed to method as arguments.
What is session in asp.net?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
What kind of data we can store in viewstate?
What is a web pool?
suppose i am Admin in my application and i have to terminate the session of the particular user in my application.........how can i do it....?????
Give some salient points of difference between request processor and request dispatcher.
Explain the difference between debug.write and trace.write? When should each be used?
What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)