themoose387 themoose387
  • 04-08-2021
  • Computers and Technology
contestada

Write steps to Delete data from ‘Datagridview’

Respuesta :

shreyaa91
shreyaa91 shreyaa91
  • 04-08-2021

Explanation:

private void btnDelete_Click(object sender, EventArgs e)

{

if (this.dataGridView1.SelectedRows.Count > 0)

{

dataGridView1.Rows.RemoveAt(this.dataGridView1.SelectedRows[0].Index);

}

}

Answer Link

Otras preguntas

Write. 0007615 In scientific notation
Work out 5/8 of 10 litres
what numbers is 21/56 equal to
What are the 6 characteristics or bonds that create a nation-state
A spinner has three sections. The table shows the results of spinning the arrow on the spinner 80 times. Three column table. First column values are Section
summary of Angkor wat
Which of the following is NOT true about energy balance? A. Energy balance is influenced by the amount of exercise one gets and their dietary habits. B. Inactiv
To break a chemical bond, energy must be(1) absorbed (2) destroyed (3) produced (4) released
When Germany began World War II in 1939, a secret agreement with the U.S.S.R. allowed Soviet troops to __________. A) occupy eastern Poland B) annex eastern Cze
What is the gram-formula mass of (NH4)3PO4?(1) 112g/mol (2) 121g/mol (3) 149g/mol (4) 242g/mol