在<Label></Lable>标签外侧添加<pre></pre>:
<asp:Label id="labDescription" runat="server" />
在Page_Load中添加:
this.labDescription.Style.Add("word-break","break-all");
在<Label></Lable>标签外侧添加<pre></pre>:
<asp:Label id="labDescription" runat="server" />
在Page_Load中添加:
this.labDescription.Style.Add("word-break","break-all");
转载于:https://www.cnblogs.com/leochu2008/archive/2008/12/12/1353823.html