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

What word would be used to describe the North’s economy?
Which of the following bits of advice would be helpful to a student about to make her presentation? Group of answer choices A)You can’t have too many pictures,
Find cos(a) in the triangle. Choose 1 answer
Francesca made a rug to go in her daughter's room. The length is 5 ft and the width is 8 ft. What is the perimeter AND area of the rug? Perimeter: Area:
A nationwide furniture company wants to survey their customers to determine whether or not they are providing quality customer service across the United States.
During the French and Indian War, France and Great Britain fought for control of North American territory. What was one of the effects of this war on the Americ
Why is public implementation important
HELP ME PLEASE!!! I don't understand... If possible, please explain!
does someone know how much is the new MacBook pro 2020 (1,200) but with the student discount ?​
MC Qu. 34 Niemiec Corporation keeps careful track... Niemiec Corporation keeps careful track of the time required to fill orders. The times recorded for a parti