I am using C # .NET 2.0 Visual Studio 2005.
I am facing a strange problem.
There is a simple window form with one DataGridView with a column1 flag (DataGridViewCheckboxColumn) .
Then, if the checkbox in the cell is checked, I want to delete the checked row.
The sound is very simple, but it does not delete all checked lines in any way, and I canβt understand why it behaves in this way.
For example, I have 5 lines and each checkbox is checked on each line, but it only removes 3 lines. Has anyone seen this before? Is this a mistake or am I doing something wrong?
namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); }
source share