foreach (SPListItem news in items)
{
TextBoxContents.Text = news["Contents"].ToString();
TextBoxContents.MaxLength = 10;
news.update();
}
Setting textboxcontents to show max 10 characters is not working why?
