GridView BoundField break long string
问题 One of BoundField in my GridView has very long string without spaces and it resize GridView. How to break long strings in GridView columns? 回答1: I have found the solution which works in my situation <asp:TemplateField ItemStyle-Width="350px" HeaderText="Source"> <ItemTemplate> <div style="width: 350px;word-wrap:break-word; "> <%# Eval("Source")%> </div> </ItemTemplate> </asp:TemplateField> 回答2: <asp:BoundField DataField="DataField" HeaderText="HeaderText" ItemStyle- CssClass="breakword" />