Microsoft
Software
Hardware
Network
Question : How to truncate (GridView)BoundFiled's string value using DataFormatString?
Basically, I have got the GridView with the BoundFiled called "Description" which can be very long. I would like to truncate it to 100 characters. (I would like to postfix with "..." after trucate if possible)
We can always do it by handling the DataBound event handler but is it possible to do it with the DataFormatString?
Answer : How to truncate (GridView)BoundFiled's string value using DataFormatString?
I think the only way that can be done is to use the DataBound event. The DataFormatString does not have the capability to do this.
Random Solutions
Setting a Column's Required Property to False using VBA
access 97 in 64 bit windows xp
TimeZone -- CountryCode list
Is it possible to store the format for the format property in a table?
Access Database Out of Memory Error
Trouble with using FindFirstFile in MFC app
exchange 2007 sending emails
VLOOKUP Problem
Can VS 2008 run on the same computer as VS 2010?
Login to local account on Domain Computer