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
Macro (or something else) - Power Point - how to put my images as slides
Internet explorer wont open - After removing rouge malware
Copy MSSQL DB to another DB on same server
Need help in creating XML file
Create a hyperlink in a C# 2005 project to a html page contained in the project
How do I use twain_32.dll in Visual C#.NET 2008
When a virtual workstation was last logged on?
Excel table linked into Powerpoint slide
Format the Graphs to export on to the PDF
Not showing Alert() before Response.redirect