title: Syntax error converting the nvarchar value to a column of data type int
body: <p>I have 1,2,3,4,5,6,7,8,9 stored as nvarchar inside Level in my db.</p>
  
  <p>I then have a dropdownlist with values 1,2,3,4,5,6,7,8,9. When a user makes a selection (i.e 1) (Level.SelectedValue.ToString). This builds an sql query via a param like this: </p>
  
  <pre><code>"Select things From MBA_EOI Where level = 1"
  </code></pre>
  
  <p>When I run the select I get the following error:</p>
  
  <pre><code>Syntax error converting the nvarchar value '1,2,3,4,5,6,7,8,9' to a column of data type int.
  </code></pre>
  
  <p>I was under the impression that I was dealing with an Nvarchar field and the selected value as string, where does the int conversion come in?</p>
  
  <p>p.s I have also tried Level.SelectedItem.ToString</p>