ASP.Net c# adding items to jagged array
<p>im trying to add items to jagged array's, the data is being pulled from a datarowview, i have the following code</p>

<pre><code>        foreach (DataRowView answer in AnswersInQuestion)
        {
            answersJArray[index] = new string[noOfAnswersInQuestion];
            answersJArray[index][j] = answer["ChoiceText"].ToString();
            j++;
        }
</code></pre>

<p>the first item gets added in fine, but when the 2nd item is put in the first item is set to null again. so for example the first time round this is what the array will look like
[0][0] = answer 1
[0][1] = null
[0][2] = null
[0][3] = null
and the 2nd time round the array will look like
[0][0] = null
[0][1] = answer 2
[0][2] = null
[0][3] = null</p>

<p>can any one help me on this !!</p>

<p>thanks</p>
