How to change Html Encoded Characters from Gridview Cells?

 Posted by vishalneeraj-24503 on 9/6/2014 | Category: ASP.NET Interview questions | Views: 640 | Points: 40
Answer:

We can use Server.HtmlDecode method for Encoded Character.It takes string values.

Whenever we manually add the space in the address,Gridview encoded the ("") space as '& #160 ;'.Same value " & #160 ;" would be assigned in the List as well.So this "& #160;" character needs to be changed as " " space again.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response