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

Martin had 7 pounds of grapes left, and he gave away 25 of them. Explain how to use compatible numbers to estimate the amount of grapes he gave away.
If f(x) = 3x2 – 2x + 4 and g(x) = 5x2 + 6x – 8, find (f + g)(x).
How much information is enough for an accountant to comply with the full disclosure principle?
omega just got her pilot's license and wants to rent a plane. The Platinum Plane Company charges $180 plus $92 per hour to rent a plane. The Plastic Plane Compa
How to write an equation with an undefined slope?
How many cubes would you use to make the structure above/below
The nurse is caring for a client who has an infection spread by respiratory droplets and is in droplet precautions. the client asks, "can my spouse visit me?" w
A used car dealership buys a car for $2800 and then sells it for $4500 what is the percent increase?
True or false? unemployed people are much more likely to use alcohol and marijuana than full-time workers.
let f(x)=4x-7 and g(x)-5+9x. what are f+g and f-g? what are their domains?