title: c# parameterized query not recognized
body: <p>I have a query that is expected to return a few rows but is not returning any results in code. I have some value from an arraylist that I'm wrapping around single quotes and comma to be use in the 'in' operator.</p>
  
  <p>Am I doing something wrong here?</p>
  
  <pre><code>AseCommand cmd = new AseCommand("select * from Customer where ID in (@parmCustId)", conn);
  cmd.Parameters.AddWithValue("@parmCustId", string.Join(",", arrList.Cast&lt;string&gt;().Select(x =&gt; string.Format("'{0}'", x))));
  using (AseDataReader dr = cmd.ExecuteReader())
  {
     if (dr.HasRows)
     {
        //do something
     }
  }
  </code></pre>