Simple If/Else Razor Syntax

Just use this for the closing tag:

  @:</tr>

And leave your if/else as is.

Seems like the if statement doesn’t wanna’ work.

It works fine. You’re working in 2 language-spaces here, it seems only proper not to split open/close sandwiches over the border.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)