Add items to drop down list only if the first letter of the string is between A and K
<p>I have a drop down list that needs to show content that has been put into a datatable using the <code>SqlHelper.FillDataTable</code>. I use a for each statement to put each value into a list item and then add that item to the drop down list values. I would like to add this item to the drop down list only if the first letter of the name(these are names from a database) is between A and K. The current if statement I wrote results in no values being put into the drop down list. Here is the current code:</p>

<pre><code>ListItem NewItem = new ListItem();
NewItem.Text = dr_UsersToShow["ViewValue"].ToString();
NewItem.Value = dr_UsersToShow["DataValue"].ToString();
string str = Convert.ToString(NewItem.Text[0]);
if (String.Compare("str", "A", true) &gt;= 0 &amp;&amp; String.Compare("str", "K", true) &lt;= 0)
{
    this.dlNewUserList.Items.Add(NewItem);
}
</code></pre>
