...
Description |
---|
Excerpt |
---|
The ExcelTemplate object represents an ExcelWriter template spreadsheet. |
Signature | ||||
---|---|---|---|---|
| ||||
public class ExcelTemplate
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Class ExcelTemplate
{signature}
{remarks}
An ExcelWriter template is a file created in Microsoft Excel that contains data markers.
A data marker specifies a database column, variable, or array to insert in the spreadsheet column containing the marker.
The {{ExcelTemplate}} object is in the {{SoftArtisans.OfficeWriter.ExcelWriter}} namespace. The object can be referenced as {{ |
Remarks |
---|
An ExcelWriter template is a file created in Microsoft Excel that contains data markers. A data marker specifies a database column, variable, or array to insert in the spreadsheet column containing the marker. The . To minimize typing and errors, use an {{
directive to import the namespace to the aspx page, and reference the object as {{
, without the namespace prefix. {remarks} {example}If you are coding directly in the .aspx page, following the Page directive, include: {code} |
Example | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
If you are coding directly in the .aspx page, following the Page directive, include:
If you are coding in the "code behind" page \(.aspx.vb or .aspx.cs \), include an {{
or {{
statement at the top of the "code behind" page: {
To create an instance of the {{
object use: {
|
Fields |
---|
...
|
...
|
...
|
...
|
Properties |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
|
Methods |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
| |||
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
| |||
...
|
...
|
...
|
...
...
|
...
|
...
|
...
| |||
...
|
...
|
...
|
...
| |||
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
|
Extensionmethods |
---|
Introducedin | ||||
---|---|---|---|---|
|
Name | Description |
---|---|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...