title: how to concatenate an int parameter in an href in a MVC view
body: <p>I have the following <code>div</code> in a <code>MVC</code> view </p>
  
  <pre><code>&lt;div&gt;
        &lt;span style="min-width: 105px; max-width: 120px; display: inline-block;"&gt;Images Available:&lt;/span&gt;
         &lt;span&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In the second <code>span</code> I would like to add an reference to an <code>aspx</code> page that requires an <code>id</code> passed to in which is an <code>int</code> data type.</p>
  
  <p>I thought of doing something like this:</p>
  
  <pre><code>&lt;span&gt;&lt;b&gt;&lt;a href="~/pages/inventory/_inventory_image.aspx?qinventory_id=" + Model.InventoryId&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;
  </code></pre>
  
  <p>That half works by giving me the page url but no InventoryId.  </p>
  
  <p>I also tried ampersand which I know is for <code>string</code> values also to no avail</p>
  
  <p>Could someone help a brother out? :-)</p>