Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void Eliminar(){
- List<DataGridViewRow> rows_with_checked_column = new List<DataGridViewRow>();
- foreach (DataGridViewRow row in dGVProductos.Rows)
- {
- if (Convert.ToBoolean(row.Cells[SelectdGV.Name].Value) == true)
- {
- rows_with_checked_column.Add(row);
- }
- }
- // Do what you want with the check rows
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement