Setting a listbox to a predefined value from generic list
<p>I have a listbox, I want to set some of the items in the listbox to be selected. These items are coming from  a System.collections.generic list so in other words, I have a list of</p>

<pre><code>ABC  5
DEF  6
PQR  9
</code></pre>

<p>and a listbox that has around 100 items including <code>ABC, DEF</code> and <code>PQR</code>. I want to loop through the listbox and list and set these items as selected in my code behind.</p>

<p>How can I achieve this?</p>

<p>Any help will be appreciated.</p>
