How to add additional elements to a datatable row
<pre><code>dTable.Rows.Add("SSN", "Firstname", "Lastname");
</code></pre>

<p>I want to continue adding elements to the same row as the code above with a for loop, how do i do it ?</p>

<p>EDIT: </p>

<p>Thanks for fast answer! sorry i was unclear with my main question How do i continue to expand the row? I have an array with values "Task 1" "Task 2" "Task 3" etc is it possible to make a loop that expands it like this </p>

<p>dTable.Rows.Add("SSN", "Firstname", "Lastname"); </p>

<p>dTable.Rows.Add("SSN", "Firstname", "Lastname", arrTask[0]); </p>

<p>dTable.Rows.Add("SSN", "Firstname", "Lastname" arrTask[0], arrTask[1]); </p>

<p>dTable.Rows.Add("SSN", "Firstname", "Lastname" arrTask[0], arrTask[1], arrTask[2]);</p>
