...
ExcelTemplate is in the SoftArtisans.OfficeWriter.ExcelWriter namespace. The object can be referenced as SoftArtisans.OfficeWriter.ExcelWriter.ExcelTemplate. To minimize typing and errors, use an Import directive to import the namespace to the .aspx page and reference the object as ExcelTemplate without the namespace prefix. If you are coding directly in the .aspx page include the following after the Page directive:
Code Block | ||
---|---|---|
| ||
<%@ Import Namespace="SoftArtisans.OfficeWriter.ExcelWriter" %> |
If you are coding in the code-behind page, include a using or Imports statement at the top of the code-behind page:
...