Step 1 of 4: Setting up the Project

In this step you will create a new project and add a reference to the C1.Silverlight.Excel assembly.

1.   Create a new Silverlight project.

2.   Select Project | Add Reference and browse to find C1.Silverlight.Excel.dll. Click OK.

3.   Add a standard button control to the page and set its Content property to Save.

4.   Double-click the button to switch to the code view of MainPage.xaml.cs. This will also add a button1_Click event to the code.

5.   Add the Imports (Visual Basic) or using (C#) statement to the code at the top of the form so you can use all names within the C1.Silverlight.Excel namespace.

      Visual Basic

      C#

Now you can add some content to a C1XLBook.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.