Switch Case for dynamic amount of values
<p>So this is my <a href="https://i.stack.imgur.com/k6jQd.png" rel="nofollow">Program</a>  </p>

<p>You can add as much rows as you want to this gridview and when you press the 'Ready' button the program watches your input via the KeyDown-Event.
When you press one of those Hotkeys shown in the gridview you get all the songs which are in the matching path.</p>

<p>I thought I could do something like this:        </p>

<pre><code>switch (e.KeyValue.ToString().Substring(0, 0))    
{
    foreach (DataGridViewRow  item in grdView)
    {
        case item.Cells[2].Value:
        //Get all the songs
        break;
    }        
}
</code></pre>

<p>Unfortunatelly I get tons of errors. I guess it won't work like this.
Is there any other way to ask for all Hotkeys written in the gridview?</p>

<p>Thanks for any kind of advice.</p>