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

How did Niccolo Machiavelli’s book The Prince set him apart from other writers of the Renaissance?
What's the other term for: one who overindulges in food and drink
why dog pants during summer use the cocept of evaporation
Solve the quadratic by factoring 2X²-2X-12=0
I figured out the 1st question but I do not understand the second one...please show me step by step! Thank you!
The diameter of a cylinder is 6 feet 6 inches. The height of a cylinder is 12 feet 3 inches. What is the surface area?    (feet squared)What is the volume?
What's the other term for: one who overindulges in food and drink
Which of the following steps is not critical in the creation of Bt corn?a.Cut out a piece of DNA from a DNA molecule.b.Splice a piece of DNA into DNA from anoth
What's the other term for: explosive or changing very quickly
name a metal that doesn't conduct electricity