Click here to Skip to main content
15,891,849 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I try to export datagrid view to excel sheet in c# but its error

Error 1 The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

can you help me?
Posted
Updated 5-Apr-11 23:42pm
v3
Comments
Mahendra.p25 6-Apr-11 5:37am    
post your code.

1 solution

The error message is self explainatory. You are missing the Office assembly reference. Please add reference of the relevant assembly and your code will proceed further.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900