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
Is Access a bit of a pig?
Get Columnname of a matched value
MS Power Point 2007 stops runing
Only 60Hz Available, Even With Driver, Spec is 75. I Can Work Around That - Should I?
Setting Up SMTP Mail Service on Windows XP
SSRS percentage equation
Access Query Sequential Counter
Real-Time Audio Stream Capture And Manipulation Through Microphone
How do I find the logged in Username from a batch file?
Wait Till Queries Have Refreshed