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 do I create a web form?

969


What is a 404 redirect?

996


What is the significance of ASP.NET routing?

1028


What is virtual directory in asp.net?

997


Describe state management in asp.net?

997


What are the differnt types of handler in ASP.NET?

929


What is the difference between a page theme and a global theme?

942


What is the use of autowireup in asp.net?

1009


What is the difference between trace and debug in asp.net?

1079


What is the page life cycle in asp.net?

924


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

995


Is asp.net and .net are same or different?

937


What is the use of execute non query in asp.net?

905


What is smpte vc-1?

991


Can we add code files of different languages in app_code folder?

1041