for (int i = 4; i < e.Row.Cells.Count; i++) { e.Row.Cells[i].Attributes.Add("style", "word-wrap:break-word;width:70px"); }