title: How to add multiple parameters to SQL command in one statement?
body: <p>I have six lines of parameters like this:</p>
  
  <pre><code>    cmd.Parameters.AddWithValue("@variable1", myvalue1);
      cmd.Parameters.AddWithValue("@variable2", myvalue2);
      cmd.Parameters.AddWithValue("@variable3", myvalue3);
  </code></pre>
  
  <p>and so on.</p>
  
  <p>Is there any way to compress this a bit without directly inserting in the cmd.CommandText?</p>
  
  <p>Edit: I guess I could have used a good old fashioned array. I've decided to stick with this though.</p>