title: VB Noob: use Mod to add an extra class at the end of the row
body: <p>So this is a total noob question, but I'm trying to use VB in an aspx file to add a class at the end of a row, and it's not going well. What am I doing wrong?</p>
  
  <pre><code>&lt;div class="compare-item-wrapper&lt;%If (n1) Mod 4 = 0 Then " last","" %&gt;"&gt;
  </code></pre>
  
  <p>I'm getting a syntax error. Thanks for the help.</p>