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
.NET Programming

Avatar of undefined
Last Comment
mphillip85

8/22/2022 - Mon
theplonk

theplonk

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
ASKER
mphillip85

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
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
theplonk

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
mphillip85

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
ASKER
mphillip85

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

How can I do that?

Thanks