How to display List items in Listview?
<p>I have a ListView in my aspx file like this:</p>

<pre><code>&lt;asp:ListView ID="ListView1" runat="server"&gt;&lt;/asp:ListView&gt;
</code></pre>

<p>and then I have List like this:</p>

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

<p>Im trying to populate the ListView like so:</p>

<pre><code>foreach(string elem in mylist)
{
  ListView1.Items.Add(new ListViewItem(elem));
}
</code></pre>

<p>But my compiler is telling me best overload match error &amp; cannot convert string to ListViewItem.  This is a asp.net 4.0 web app.  Any suggestions?</p>
