在DATAGRID 中加一个LABEL
将数据绑定到LABEL上

解决方案 »

  1.   

    使用一个textarea + style. 
    好像 csdn 这里的回复帖一样.
      

  2.   

    使用CSS完成 word-break:break-all
    http://ctb.11cn.org/index.php?mods=topicdisplay&forumid=3&postid=745
      

  3.   


    用DataGrid的Property Builder配置
    先设好列,再在"Format"->"Coumns"设列宽,最后在"Items"的"Nortmal Items"确定"Wrap text within cell"选上
      

  4.   

    中間留空格.DataGrid寫成Data Grid
      

  5.   

    content { 
    border: 0; 
    overflow-y: visible; 
    width: ***; 
    height:***;
    background-color: transparent
    }
    <textarea class="content" readonly="true"><%# ... %></textarea>
      

  6.   

    固定格的宽度HeaderStyle-Width =100px 
      

  7.   

    为了界面美观建议内容超出范围后省略显示。
    用css可完全控制,