How do I do this in Razor (VB.NET):
<div class="[email protected]">
If @ViewBag.MyValue
is "xxx", the output should be
<div class="some_prefix_xxx">
Use parentheses:
<div class="some_prefix_@(ViewBag.MyValue)">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With