title: Mutliple checkbox with same name attribute looping
body: <p>I have a html form that submits to a C# ashx handler that i'm hoping will insert/update the database</p>
  
  <p>I've written this in PHP and Coldfusion, but I cannot figure out how to do this in C#</p>
  
  <p>HTML form</p>
  
  <pre><code>     &lt;form id="copyto"&gt;
      &lt;input type="hidden" name="operation" value="update" /&gt;
      &lt;label&gt;&lt;input type="checkbox" name="children[]" checked="checked" value="001"&gt;
  Andrew Regan&lt;/label&gt;
  
      &lt;label&gt;&lt;input type="checkbox" name="children[]" checked="checked" value="101"&gt;
  Arthur Regan, III&lt;/label&gt;
  
      &lt;input type="checkbox" name="children[]" checked="checked" value="968"&gt;
  Tim Reagan
      &lt;/form&gt;
  </code></pre>
  
  <p>C# ASHX handler</p>
  
  <pre><code>foreach(string key in context.Request.Params["children"]) 
  {
      ListDictionary updateParams = new ListDictionary();
      updateParams.Add("rowid", key);
      string sSql = @"insert into temp select * from children where c.id = :rowid";
      dbi.ExecuteNonQuerySql(sSql, updateParams);
  
  }
  </code></pre>
  
  <p>Typically i would iterate over the $_POST['children'] in php , and execute the sql</p>
  
  <p>How exactly does this translate?</p>
  
  <p><strong>EDIT</strong> </p>
  
  <p>ok ive almost gotten this, however my iterator goes over ALL of the request collection variables, i want it to go over only a specific named variable, in this case "children"</p>
  
  <p>i.e localhost/page?operation=update&amp;children=9&amp;children=8&amp;children=17</p>
  
  <pre><code>foreach(string key in context.Request.QueryString) 
  {
      ListDictionary updateParams = new ListDictionary();
      updateParams.Add("row_id", context.Request.QueryString[key]);
      string sSql = @"insert into dug  select :row_id from dual";
      dbi.ExecuteNonQuerySql(sSql, updateParams);
  }
  </code></pre>
  
  <p>i want it to ignore everything but the specific var</p>