Trim a string to a length, Here
public string TrimString(string strValue,int Count)
{
if (strValue.Length > Count)
{
strValue = strValue.Substring(0, Count - 1) + "..";
}
return strValue;
}