Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. public override void Eliminar(){
  2. List<DataGridViewRow> rows_with_checked_column = new List<DataGridViewRow>();
  3. foreach (DataGridViewRow row in dGVProductos.Rows)
  4. {
  5. if (Convert.ToBoolean(row.Cells[SelectdGV.Name].Value) == true)
  6. {
  7. rows_with_checked_column.Add(row);
  8. }
  9. }
  10. // Do what you want with the check rows
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement