remove html tags from string asp.net c#
You want to remove HTML tags from your string.
in gridview or datalist bind
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#
Reviewed by Bhaumik Patel
on
4:45 AM
Rating: