i think it's same way like VB.NET right?
check this out :
http://vb.net-informations.com/excel-2007/vb.net_excel_2007_open_file.htm

1. 1st you must add reference
2. and then Imports Microsoft.Office.Interop ( in you're case 'Using')

On Wed, Apr 22, 2009 at 9:47 AM, Guru Kodlekere <[email protected]>wrote:

> Hello,
>
> Does any one know, how to read and write a xlsx file in c#.
>
> I did it in the same way, as we used to write normal excel file.
>
> Then, later when i tried to open the file, it shows file is ot in correct
> format or corrupted.
>
> Please let me know, if ay one knows regarding xlsx file writing and readig
> in c#
>
> Thanks
>
> --
> Regards
>
> Guru
>

Reply via email to