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
Trapping 2237
Can't log into domain
SQL Server 2005 Linked Server Oracle 9i Error message ORA-12154
Problems with external emails bouncing back
How to tell if the current database has been openeed exclusively
WinRM Fails To Start on Windows Server NOT R2
determine if an Access DB (.mdb) is being opened for the first time on any given day
need install windows from lan
Error While Importing Microsoft CRM 4.0 Database
How to Send Alert Info from Dell Open Manager Via Email