|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Fill data in Excel tableI need to fill data in Excel table. I have an Excel workbook, where
some values should be filled in specified cells. I need to do this without COM interop, because i don't have Excel installed. I red that ADO.NET does not support 'Insert' and 'Update' statments against excel files. Any ideas how to fill the table? TIA Hi,
http://support.microsoft.com/default.aspx?scid=kb;en-us;316934 Ken --------------- Show quoteHide quote "Nikolay Petrov" <johnt***@mail.bg> wrote in message news:1131785282.580307.230070@g43g2000cwa.googlegroups.com... >I need to fill data in Excel table. I have an Excel workbook, where > some values should be filled in specified cells. I need to do this > without COM interop, because i don't have Excel installed. I red that > ADO.NET does not support 'Insert' and 'Update' statments against excel > files. Any ideas how to fill the table? > > TIA > Ken. It was my mistake. Before some time, i've tried to delete records
in excel file, and I red this KB article. This time, i forgot that only deletion is not possible. Sorry, my memory is not so good these days. Thanks however. Hi,
If you can't use automation and Jet OLE DB doesn't have the power you need, only other solution is to use some third-party control. If the amount of data you are exporting is not large (less than 5 sheets and 150 rows per sheet), you have ExcelLite Free component you can freely use in commercial apps (http://www.gemboxsoftware.com/ExcelLiteFree.htm). If your worksheet grows in size, you can easily update to ExcelLite Professional. Jan GemBox Software www.gemboxsoftware.com Show quoteHide quote "Nikolay Petrov" <johnt***@mail.bg> wrote in message news:1131785282.580307.230070@g43g2000cwa.googlegroups.com... >I need to fill data in Excel table. I have an Excel workbook, where > some values should be filled in specified cells. I need to do this > without COM interop, because i don't have Excel installed. I red that > ADO.NET does not support 'Insert' and 'Update' statments against excel > files. Any ideas how to fill the table? > > TIA >
Other interesting topics
Add New in Bindings Navigator problem
Select next item in DB without knowing what ID it has getting Identity value back ORM Frameworks for Visual Studio 2005 Subprocedure for Oracle's SET DEFINE OFF command DataGridView Update Parameter Limitations with ADO.NET? Binary serialization of datasets doesn't work SqlTransaction Record Not Found Combining 2 Fields Using ListBox.DataTextField |
|||||||||||||||||||||||