LimitColumnClass to Truncate the Length of a Database Field
Descriptionof the 10 most viewed FAQs on ASPFAQs.com. However, the
Descriptioncolumn is truncated to 50 characters through the use of a custom DataGridColumn class. The logic that is used to truncate is contained in the class itself, hence the reason this page does not contain any sort of
Truncatefunction as was the case in the previous demo.
[Return to the article]