Last post May 07, 2009 08:00 AM by bgs264
May 06, 2009 08:57 AM|tamil_mca2005|LINK
Is there any way to convert Excel sheet to bitmap image by using C#.
I need to create bitmap image from excel data, Please help me.
May 07, 2009 08:00 AM|bgs264|LINK
You can create bitmap images on the fly using GDI+ and the System.Drawing namespace, there's a lot of tutorials online about how to dynamically create images in .NET. First of all try to get your head around creating a bitmap image looking like what you
want, with some sample output without actually talking to an Excel file.
After that, you'll need to use the same principles but this time instead of using dummy data, actually get the data from Excel. There's a few ways to get data from Excel: A linked data source/server in SQL Server, XSLT if it is Excel 2007 or you could use
the good old COM interop to talk to Excel 2003. Again there is plenty of tutorials on the web for this.
You will be able to do it in .net... I'm very sure about that... People on the forums will be able to help with any specific problems you come across but there is a wealth of information on Google about (1) how to generate a bitmap image and (2) how to talk
to Excel. You just need to wire the two together.