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
Getting ODBC general error on command refresh background query
Too many indexes
WSS 3.0 migrate site from development machine to production server - Best practices
Access Autoexec macro vs. Form_Open code for default form
How do i backup/restore a sharepoint services web on a different machine?
Your message did not reach some or all of the intended recipients.
Crop Images
Conditions in joins
Sharepoint Alternate Access Mappings not working
SQL query using the Count function in Access