Hi
Based on my understanding, you want to transfer the xml data from database
to excel workbook.
I think you may also try to transfer the SQL data to excel workbook
directly.
Here are two links for your reference.
HOW TO: Transfer Data to an Excel Workbook by Using Visual C# .NET (306023)
http://support.microsoft.com/default...B;EN-US;306023
How To Transfer XML Data to Microsoft Excel 2002 by Using Visual C# .NET
(307029)
http://support.microsoft.com/default...B;EN-US;307029
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.