//正常换行
        GridView1.Attributes.Add("style", "word-break:keep-all;word-wrap:normal");
        //下面这行是自动换行
        GridView1.Attributes.Add("style", "word-break:break-all;word-wrap:break-word");
控制 GridView  控件中内容的换行<%@ Page Language="C#" AutoEventWireup="True" %>
控制 GridView  控件中内容的换行
<%@ Import Namespace="System.Data" %>
控制 GridView  控件中内容的换行
<html>
控制 GridView  控件中内容的换行
<script type="text/C#" runat="server">
控制 GridView  控件中内容的换行
int start_index;
控制 GridView  控件中内容的换行ICollection CreateDataSource() 
>

相关文章: