fetching items from combobox to label text
<p>I have a combobox say combobox1. I have 4 items in it. Whenever i select an item I wish to get the selected text in the combobox1 on a label text.
I tried doing this using the following code but it does not work.</p>

<p>cnt refers to the number of items in combobox1. lb is an object of label.</p>

<p>Please help..</p>

<pre><code>for (int i = 1; i &lt;= cnt; i++)
{
    lb.Text = comboBox1.Items[i].ToString();
}
</code></pre>
