Add HTML in ItemTemplate from a code behind
<p>I have a repeater control that lists 10 records from a database.
What I want to do is to divide that 10 records in two columns, and I don't know how to do that.<br>
The problem is that I can't use &lt;%# if (Container.ItemIndex == 0) %>.<br>
I tried to use ItemDataBound to manipulate the data, but I don't know how to make repeater control to display generated data back to the browser.</p>

<p>Any help or idea will do.<br>
Hope you understood what I was going to say.<br>
Thanks.</p>
