Question: I'm using joomla 3, a catalog website that requires registration in order to get access to several pages. 

I'm using RS Form Pro registration plugin. when i turn Joomla's cache on, my users are filling the registration fields and they are also being saved to RS Form Pro submissions list BUT, it doesn't actually register them, no new registered user is being created in the admin and there is no such user when trying to log-in.

Important to say: when caching is disabled, everything works correctly.
how can i make it work without disabling my website's cash?

Answer: 
It's been a long while since I did anything with Windows Forms (oh, the good ol' days), so excuse me if this is a little off, but you should be able to accomplish this with something like...

```
for(int v = 0; v < dataGrid1.Rows.Count; v++)
{
    if(string.Equals(dataGrid1[0, v].Value as string, "ITM-000001"))
    {
        dataGrid1.Rows.RemoveAt(v);
        v--; // this just got messy. But you see my point.
    }
}

```
Not necessarily better or even simpler than Matthew's solution; just a different approach I sometimes find useful:

```
    List<DataGridViewRow> RowsToDelete = new List<DataGridViewRow>();
    foreach (DataGridViewRow row in dataGridView1.Rows)
        if ( row.Cells[0].Value != null && 
             row.Cells[0].Value.ToString() == "TTTT") RowsToDelete.Add(row);
    foreach (DataGridViewRow row in RowsToDelete) dataGridView1.Rows.Remove(row);
    RowsToDelete.Clear();

```

This way you could use the list as a buffer after or give the number of hits before actually deleting them.

I also liked his use of `string.Equals` and do it differently here just for fun..