Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Now the template file is done. Next is writing the code to bind the string value to the data marker.

Writing the code

...

Info

In the sample code, the completed file is: ExcelTemplate_HelloWorld.aspx.[cs/vb]. The corresponding web form is ExcelTemplate_HelloWorld.aspx.

1. Make a new file named ExcelTemplate_HelloWorld.cs. Include the SoftArtisans.OfficeWriter.ExcelWriter namespace in the code behind.

...