older_coder
Member
Hi all,
So I'm getting data from the database, which I've managed to do correctly, but I'm having trouble displaying it on a razor page. I have the @{ } brackets but the code inside it displays on the screen rather than the values.
How do I get the actual data to appear on the page, rather than the code? I can paste the code I'm using if that would help.
Thanks in advance.
So I'm getting data from the database, which I've managed to do correctly, but I'm having trouble displaying it on a razor page. I have the @{ } brackets but the code inside it displays on the screen rather than the values.
How do I get the actual data to appear on the page, rather than the code? I can paste the code I'm using if that would help.
Thanks in advance.