Hello, what I want to do is delete the selected data in the datagriedview
what I have from my code button "Remove" (gives me erores) in the line
foreach(DataGridViewRow c in DataGridViewSelectionArea.Rows)
:
private void BtnQuitar_Click(object sender, EventArgs e)
{
foreach(DataGridViewRow item in DataGridViewSelectionArea.SelectedRows)
{
DataGridViewSelectionArea.RemoveAt(item.Index);
}
}