Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Read and write Open XML files (MS Office 2007)

, 31 Jul 2011 CPOL
Learn how to read and write Open XML files (MS Office 2007).
excel2007readwrite.zip
Excel2007ReadWrite
bin
Debug
Release
Excel2007ReadWrite.exe
ICSharpCode.SharpZipLib.dll
DLLs
ICSharpCode.SharpZipLib.dll
Input
In.xlsx
obj
Output
Properties
Settings.settings
TEMP
Template.xlsx
XlsxReadWrite.zip
XlsxReadWrite
XlsxReadWrite
bin
Release
ICSharpCode.SharpZipLib.dll
XlsxReadWrite.exe
Input
In.xlsx
Output
Properties
Settings.settings
References
ICSharpCode.SharpZipLib.dll
TEMP
Template.xlsx
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="XlsxReadWrite.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="XlsxReadWrite.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <userSettings>
        <XlsxReadWrite.Properties.Settings>
            <setting name="InputFileName" serializeAs="String">
                <value>..\..\Input\In.xlsx</value>
            </setting>
            <setting name="OutputFileName" serializeAs="String">
                <value>..\..\Output\Out.xlsx</value>
            </setting>
        </XlsxReadWrite.Properties.Settings>
    </userSettings>
    <applicationSettings>
        <XlsxReadWrite.Properties.Settings>
            <setting name="DataTableName" serializeAs="String">
                <value>XlsxReadWriteTable</value>
            </setting>
            <setting name="DataTableNamespace" serializeAs="String">
                <value>XlsxReadWrite</value>
            </setting>
            <setting name="DataTableXmlSchemaFileName" serializeAs="String">
                <value>..\..\XlsxReadWriteTable.xsd</value>
            </setting>
            <setting name="TemporaryDirectory" serializeAs="String">
                <value>..\..\TEMP</value>
            </setting>
            <setting name="TempateFilePath" serializeAs="String">
                <value>..\..\Template.xlsx</value>
            </setting>
        </XlsxReadWrite.Properties.Settings>
    </applicationSettings>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

ZeljkoS
Web Developer
Croatia Croatia
Zeljko Svedic works as a lead developer at GemBox Software. He primarily works on GemBox.Spreadsheet, a .NET component for reading and writing native XLS files.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141220.1 | Last Updated 31 Jul 2011
Article Copyright 2006 by ZeljkoS
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid