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

Can somoene help me with this question??How might the history of the U.S. have been different if the original thirteen states had been guaranteed a perpetual ma
Alicia estimates that the surface area of a rectangular prism with a length of 11 meters,a width of 5.6 meters,and a height of 7.2 meters is about 334 cubic met
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
Which of the following organisms can perform alcoholic fermentation? (1) yeast, (2) humans, (3) bacteria. a. 1 and 2 b. 1 and 3 c. 1 only d. 1, 2, and 3
An airplane travels 3,260 kilometers in 4 hours. What is the airplane’s average speed?
How do you Factor c(squared)-8c ??
The value square root of 53 of lies between which two consecutive integers?
What is biogeography and what does it provide?
Write a system of equations with a solution (4,–3)
How many atoms are in 0.750 moles of zinc?