 <p>This loops through all items of an ASP combobox:</p> <pre><code>DataTable dt = (DataTable)comboBox1.DataSource; for(int i = 0; i &lt; dt.Rows.Count; ++i) { string displayText = dt.Rows[i][comboBox1.DisplayMember].ToString(); string valueItem = dt.Rows[i][comboBox1.ValueMember].ToString(); } </code></pre>