repeate自动换行
View Code
<table><tr><td width= "45% "style= "word-break:break-all "> <asp:Repeater ID="rpaboutus" runat="server"> <ItemTemplate > <%# Eval("Con").ToString().Length > 200 ? Eval("Con").ToString().Substring(0, 200)+"....." : Eval("Con") %> </ItemTemplate> </asp:Repeater> </td></tr></table>