When the report display in report viewer the data looks fine but when it gets open/saved/rendered using DOC or DOCX via Aspose.Words The last row is repeated.
I just purchased this license… today.
See print Screen.
Hi James,
- Please use the select statement (to populate the data) inside your RDL file and share it here.
- Please attach the output Word file that shows the undesired behavior.
- Please share the screenshot of repeated data.
<DataSets>
<DataSet Name=“DataSet”>
<Query>
<DataSourceName>DataSource</DataSourceName>
<CommandText>select 1 as value, ‘label1’ as label
union all
select 2 as value, ‘label2’ as label
union all
select 3 as value, ‘label3’ as label
union all
select 4 as value, ‘label4’ as label
</CommandText>
</Query>
<Fields>
<Field Name=“value”>
<DataField>value</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name=“label”>
<DataField>label</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>