Here is my code for repeater,
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="NewDataSource">
<ItemTemplate>
<%# Eval("Title") %><br />
<%# Eval("PostDate","{0:dd-MMM-yyyy}")%><br/>
<%# Eval("Body") %><br />
<hr />
</ItemTemplate>
</asp:Repeater>
In my data , Body is html string and I want to substring this not including html tags !
Example
If Body string is likes
<span style="color: #996600">Detail </span>of my Body <span style="color: #669933">Text
</span>
I want to show likes ,
<span style="color: #996600">Detail </span>of my <span style="color: #669933">
</span>... ReadMore(to navigate detail Page)
I found javascript function to do it in Substring text with html tags in javascript
But I don't know how to use with my code ! Kindly , help me , Thanks ! :)