Link to home
Start Free TrialLog in
Avatar of mphillip85
mphillip85Flag for United States of America

asked on

open excel document using visual studio 2005 .net c#

Trying to find .net 2005 c# code to open an excel document and then populate it with data from a datagridview
Avatar of theplonk
theplonk
Flag of Australia image

Otherwise you can add reference to the office interop. And create new worksheet from there.
http://www.c-sharpcorner.com/UploadFile/ggaganesh/CreateExcelSheet12012005015333AM/CreateExcelSheet.aspx
Avatar of mphillip85

ASKER

I need something that is more defined to vs .net 2005 studio c#.

These examples are having errors and depending on older tlb files and I am using office 2007.

Help please.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of theplonk
theplonk
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that works.  How do I create a new document.  I know this sounds simple.  But I am learning new sytax on c# visual studio.

Thanks
i found how to create or open a newworksheet, but need to know how to populate the sheet.

How can I do that?

Thanks