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
Windows Server 2008 R2 log spooler events
Split importing of a .CSV file using VB
How to run SELECT statement against DataSet object
Internet explorer crashes
Unable to RDP into Windows 2003 SBS after reboot
How should I format a Time value to insert it into a Visual FoxPro table from VBS
Paid Time Off Accrual Formula
How can I successfully install .NET FrameworK 2.0?
How to share session between two web sites hosted on two different web server without web farm
Realtime - What Events?