Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

About the Usage of htmlencode and urlencode ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we create Tree control in asp.net?

1007


How would you get asp.net running in apache web servers?

974


What are the Difference between asp.net and asp ?

1074


What are the HTML server controls in ASP.NET?

1057


Describe the method to create a permanent cookie?

1043


What describes a query?

878


What is semantic gap?

968


What is the purpose of session management?

939


What is a viewbag?

921


What is the use of autowireup in asp.net?

1019


Differentiate between structure and class.

978


Can you change a Master Page dynamically at runtime?

931


Explain one critical mapping?

952


Where do the cookie state and session state information be stored?

884


What is the difference between a multi-layer and multi-tier applications?

960