Hi,
Can You help to create thumbnail of dynamic content, i have multiple .doc file, i am display data into gridview but
Required is to display thumbnail based on .doc file, how to read data dynamically and generate the thumbnail?
Regards,
Krishan Kumar Singh

Richard PorterPosted Mar 3, 2015, 4:23 AM
First I defined a GridView control with bound fields like this:
And here is how I bind it with some sample data:
And here is the result:
In short I have a "Sample Files" folder where my DOC files are located and I iterate through each of them and convert them to an image and store the image's URL to DataTable.
For reading the Word files in C# and then converting them to an image format I used this .NET component for Word files processing.
Note that this component can enable to manipulate (open, read and then convert) with DOC files in C# but also you can achive the same manipulation for DOCX files in C# as well.