I have a dynamic variable if that’s a float value I want to sum these 2 float values which is declared as dynamic <<[Product.Amount]>>
I need syntax this way
@Keerthana_K_R You can use syntax like this:
<<[Product.Amount+Product.AdditionalAmount]>>
For example see the following code:
Product product = new Product() { Name = "Test product", Amount = 3, AdditionalAmount = 2 };
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Write("<<[Product.Amount]>>+<<[Product.AdditionalAmount]>>=<<[Product.Amount+Product.AdditionalAmount]>>");
ReportingEngine engine = new ReportingEngine();
engine.BuildReport(doc, product, "Product");
doc.Save(@"C:\Temp\out.docx");