Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have the folloing code that loops through a document type and displays them
@foreach (var syv in syvs) { @syv.ePost }
However, I want a space between each value. How do I do it?
I tried doing it like this: @syv.ePost + " "; but I get an error doing that.
@syv.ePost + " ";
Hi Johan
You can use the parenthesis syntax of razor to concatenate values / add your space eg:
@(syv.ePost + " ")
if that helps ?
Marc
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
adding a space after document type
I have the folloing code that loops through a document type and displays them
However, I want a space between each value. How do I do it?
I tried doing it like this:
@syv.ePost + " ";
but I get an error doing that.Hi Johan
You can use the parenthesis syntax of razor to concatenate values / add your space eg:
if that helps ?
Marc
is working on a reply...