hi..
I need to export some data which is displayed in datagrid to excel.when i tried to write the code it is not possible because i havent add "microsoft.office.interop.excel" namespace.But when i tried to add it was not possible.Because microsoft excel 12.0 object library is missing.but it is not there to add in the reference..Then how can i make it possible?.Help me please...
Loading
Amit ChoudharyPosted Mar 3, 2010, 8:07 AM
To add the Microsoft Excel Object Library. follow these steps:
- On the Project menu, click Add Reference.
- On the COM tab, locate Microsoft Excel
Object Library, and click Select.
if you didn't find it there thenDownload the excel interop assembly if did'nt installed in your system
http://support.microsoft.com/kb/328912/
Please don't forget to mark it as answer if it helps you.