Convert PHP script to ASP.NET
<p>Does anyone know how to write the following PHP in ASP.NET(VB.NET)?</p>

<pre><code>foreach ($_GET['listItem'] as $position =&gt; $item) : 
  $sql[] = "UPDATE `table` SET `position` = $position WHERE `id` = $item"; 
endforeach; 
</code></pre>

<p>The data in $_GET['listItem'] looks like this:</p>

<p>item[]=1&amp;item[]=2&amp;item[]=3</p>
