Ok, here's the deal.
I am trying very hard to use MySQL as a backend for ASP.NET development (which works fine), and trying to create a reporting section that generates excel reports using Excel 2000. Has anyone tried this and is it feasible. Needless to say I am running into all sorts of problems. The MySQL odbc .net provider works fine and is able to connect to the database. for all other regular asp.net programming. eg. populating listboxes, databinding the datagrids, datasets etc. works perfectly.
Enter excel 2000 reports; I have tried automating this through ASP.NET but it gives me a lot of COM exception type errors. I added a reference to the Excel 10.0 library in my visual studio.net solution, and its imported Excel, Office and something called VBIDE as references.
Now, I am able to write to an excel cell using automation but not when the query is from the database. However the same thing works from within the actual Excel application (when its not automated.) I am confused about whether:
1. Something is wrong with the MySQL driver when automating excel
2. Something is wrong with trying to automate Excel 2000 using ASP.NET
anyone with any knowledge about this please enlighten me,
Thanks,
Kulin Parikh
--
The more I learn about the Internet, the more amazed I am that it works at all.