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
Table Connected via ODBC not showing newly added fields
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies.
Unknown Function Name
OWA Publishing over ISA
Excel formula needed
Import multi delimeted Txt to excel
auto-save outlook email attachment within SSIS
Microsoft Dynamics GP 10 Not Responding during login - Hang
What's the easiest way to transfer records from one table to another?
Web Part Background Color Change