for (int i = 0; i < e.Row.Cells.Count; i++)
{
e.Row.Cells[i].Wrap = false;
e.Row.Cells[i].Attributes.Add("style", "word-break :keep-all ; word-wrap:keep-all");
}
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#FFC0FF',this.style.fontWeight='';");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
}