I have a problem that seems quite simple and yet I cannot find a satisfying solution for it. I have a business object that holds a list of string values and I want to display those values as one string, with a selected separator, let's say, a comma. The important thing is that I want the concatenation of strings to be done in the report itself.
Normally I would do something like this:
Code: Select all
singleString = string.Join(", ", listOfStrings)
Code: Select all
singleString += MyBusinessObject.Items.Data + ", ";
Another solution is to join the strings and add the single string to the business object, but as I mentioned - I want the operation to be performed in the report itself.
Is there any other way to achieve this?
I'm uploading a sample project that illustrates my problem and a sample report (the report is also included in the project).