asp.net gridview强制换行

//正常换行

GridView1.Attributes.Add("style", "word-break:keep-all;word-wrap:normal");

//下面这行是自动换行

GridView1.Attributes.Add("style", "word-break:break-all;word-wrap:break-word");