title: How to select Sqlparameter list element by name?
body: <p>How to select Sqlparameter list element by name?</p>
  
  <pre><code>        SqlParameter[] para = new SqlParameter[]
          {
               new SqlParameter("@UserID",UserID),
               new SqlParameter("@startDate",startDate)
          };
  </code></pre>
  
  <p>When I want to got UserID,Then I need use <code>para[0].value</code> to get element value.</p>
  
  <pre><code>        Response.Write(para[0].value);
  </code></pre>
  
  <p>but its need to use <code>int</code> to get element.</p>
  
  <p>Have any method to get element by 'Name', like <code>para["UserID"].value</code>?</p>