Listview: Bind data from db to label control by column id not name
<p>Appologies if this has already been visited a 1,000 times over but I cant think how to word my search to get the result.</p>

<p>I've inherited a crappy db structure where various table use the same column names, meaning that various stored procedure return result with duplicated column names such as 'id'.</p>

<p>So, I've been referencing columns in my codebehind by their column number eg </p>

<pre><code>reader[22].ToString();
</code></pre>

<p>However, I can't work out -monged head day- how to do this in the html.</p>

<p>For example, I have a list view and have a row with a label in it, which i would normally bind data to in a fashion such as;</p>

<pre><code>&lt;asp:Label ID="ProductLabel" Text='&lt;%# Eval("Product") %&gt;'runat="server" /&gt;
</code></pre>

<p>But, how do i do the above if I need to reference it by its column count eg column 22 ????</p>

<p>Thanks for any help &amp; suggestions.</p>
