Creating html table filled with lists on ASP page
<p>I have two lists:</p>

<pre><code>List&lt;string&gt; userID = new List&lt;string&gt;();
List&lt;string&gt; dates = new List&lt;string&gt;();
</code></pre>

<p>Both of these will always have the same amount of elements (Example below):</p>

<pre><code>userID = [   11    |   22    |   33    |   44    |   55    ]
dates =  [ 1/22/13 | 2/22/13 | 3/22/13 | 4/22/13 | 5/22/13 ]
</code></pre>

<p>What I would like to do is create an HTML table on an ASP page with two columns, filled in by the elements of the lists, with userID[0] being the first cell under the first column, and dates[0] being the first cell under the second column like so:</p>

<pre><code>columnName | column2Name
---------------------------
    11     |   1/22/13
    22     |   2/22/13
</code></pre>

<p>Right now I have:</p>

<pre><code>&lt;table style="border:solid black 2px" width="100%"&gt;
&lt;tr style="border-bottom:solid black 2px"&gt;
   &lt;td align="left"&gt;&lt;%= dateSelect %&gt;&lt;/td&gt;
   &lt;td align="right"&gt;Date of Report: &lt;%= System.DateTime.Now.ToString("MM/dd/yyyy") %&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>Where <code>dateSelect</code> is a string.</p>

<p>This displays a single row table, which works and is what I want at the top of the table. Below that should be the two columns with headers of my choosing, then the elements.</p>

<p>I'm just not sure how to go about it (haven't had much HTML experience). Should I make a <code>Repeater</code> which I've seen suggested in similar questions, and then add <code>header</code> and <code>item</code> templates? Or is there a simpler way of doing it?</p>