the template is:
when trials is empty array, will create a worng!
{“code”:500,“error”:“An error has been encountered at the end of expression ‘trial_drug?]’. Can not get the value of member ‘trial_drug’ on type ‘class com.aspose.words.net.System.Data.DataRow’.”,“data”:null}
What should I do? Hope to give a suggestion, thank you!
other:
i see a example
<<if [!items.Any()]>>No data.
<<else>><<foreach [item in items]>><<[item]>>
<</foreach>><</if>>
bug i get a error return.
{"code":500,"error":"An error has been encountered at the end of expression '!d.any()]>'. Can not resolve method 'any' on type 'class com.aspose.words.net.System.Data.DataRow'.","data":null} {"code":500,"error":"An error has been encountered at the end of expression '!d.any()]>'. Can not resolve method 'any' on type 'class com.aspose.words.net.System.Data.DataRow'.","data":null}