Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{signature}
{remarks}
Any rows in the data source after the [MaxRows|DataBindingProperties.MaxRows] value will not be added to the template.
{{MaxRows}} is a *Read/Write* property.
{remarks}
{example}{code:csharp|title=C#}
DataBindingProperties dbp = xlt.CreateDataBindingProperties();
dbp.MaxRows = 20;
xlt.BindData(twodim, names, "TwoDimArray", dbp);
xlt.Save(Page.Response, "output.xls", false);
Code Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim dbp As DataBindingProperties = xlt.CreateDataBindingProperties()
dbp.MaxRows = 20
xlt.BindData(twodim, names, "TwoDimArray", dbp)
xlt.Save(Page.Response, "output.xls", False)
{code}
{example}