ajie
yingwu

 


VB.NET  <%=chr(13)%>

C#.NET  <%=\r\n %> 

 

 

.ProblemDetailDescription = txtDetalDescription.Text.Trim().Replace(Chr(13), "<br>")

多行文本换行解决:
Edit页面:
保存:
变量=文本.Text.Trim().Replace(Chr(13),"<br>")

绑定:
文本.Text=变量.Replace("<br>","")

 

 

posted on 2009-03-15 21:23  ajie  阅读(92)  评论(0)    收藏  举报