Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
How to use v2008.3 Excel functionality in .NET 2.0
posted

 

I can't find the example on to configure v2008.3 to allow the Excel functionality to be used in .NET 2.0.

I would like to use this functionality but am required to use .Net 2.0.

Is there a post describing the configuration?

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    You can export the grid to Excel or use the Excel assembly to create Excel files in CLR2.0. The only limitation is that you cannot create Excel 2007 files - you have to use the older Excel2003 format.

    If you want to use Excel2007, then you need to have a way to package the Excel files. CLR3.5 has assemblies that will do this for you. If you don't have access to those assemblies, then you would need to either write your own or use some other 3rd-party packaging assemblies. There is a sample included with the NetAdvantage SDK that demonstrates how this can be done. The sample, uses the CLR3.5 assemblies, since it obviously does not have access to any 3rd-party utlities. So you would need to replace the references to those CLR3.5 assemblies with whatever 3rd-party tool you are using.

    The sample is called "Excel 2007 Custom Packaging" and it's under the WinMisc samples.

Reply Children