remove html tags from string asp.net c#

You want to remove HTML tags from your string.

string html = "remover html tages " +
     "from string asp.net c#";

string newString = Regex.Replace(html , "<.*?>", string.Empty);

in gridview or datalist bind

<%#  Regex.Replace(Eval("ItemDetail").ToString(), "<.*?>", string.Empty)%>
remove html tags from string asp.net c# remove html tags from string asp.net c# Reviewed by Bhaumik Patel on 4:45 AM Rating: 5