Open .xls from c#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you open an Excel file from C-Sharp.

I need to use a preformatted Excel file/template populating it from a
dataset. I have everything figured out but have to programmatically build
the spreadsheet in order to use one because I can't figure out how to open it.

Thanks in advance.
 
Hi...

You may need to check Visual Studio Tools for Office...VSTO...

With Best Regards
Naveen K S
 
¤ How do you open an Excel file from C-Sharp.
¤
¤ I need to use a preformatted Excel file/template populating it from a
¤ dataset. I have everything figured out but have to programmatically build
¤ the spreadsheet in order to use one because I can't figure out how to open it.

See if the following helps:

HOW TO: Transfer Data to an Excel Workbook by Using Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;306023


Paul
~~~~
Microsoft MVP (Visual Basic)
 
Back
Top