Torna al Thread

Private Sub Elimina_selezionati_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Elimina_selezionati.Click Dim c, x As Integer c = 0 x = 0 For c = 0 To DataGridView.RowCount - 1 If DataGridView.Rows(x).Cells(indice della colonna col check).Value = True Then DataGridView.Rows.RemoveAt(x) Else x += 1 End If Next End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5