how to loop through collection and save to db
<p>I'm having some issue with executing the database by looping through two collection that I have. Mind you that this is just an example. </p>

<p>1st collection include: genders - male, female
2nd collection include: names - john, james, mike, stacy, paula</p>

<p>I've used for loop for example:</p>

<pre><code>for (int i = 0; i &lt; genders.count; i++)
{
    for (int j = 0, j &lt; names.count; j++)
    {
        //call to stored procedure there
        //parameters
        //execute
    }
}
</code></pre>

<p>Can anyone suggest on how to do this differently?</p>
