thanks for your reply C_ntua but i could not find any property of gridview. i m using C# with asp.net, may be it is the reason.
i find a way that helped me.
it is like that
Code:
protected void gvList_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
ViewState["description"] = e.Row.Cells[3].Text;
if (e.Row.Cells[3].Text.Length >= 30)
{
e.Row.Cells[3].Text = e.Row.Cells[3].Text.Substring(0, 30) + "...";
e.Row.Cells[3].ToolTip = ViewState["description"].ToString();
}
}
}