We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Data is repeating when rendered/saved using DOC or DOCX aspose.words

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,


Thanks for your inquiry. It would be great if you please share following detail for investigation purposes. We will investigate the issue on our side and provide you more information.

  • 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.

Please check the following DataSet example with select statement for your kind reference.

<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>