Tuesday, November 23, 2010

Wraping Cell Text in GridView

if (e.Row.RowType == DataControlRowType.DataRow)
        {
            e.Row.Cells[4].Attributes.Add("style", "word-wrap:break-word;width:250px");

        }

No comments: