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

Ten-year-old Malik is bored unless he is active or playing with other children. Realizing his needs, his parents have involved him in after-school sports and su
HELP ME WITH THESE TWO PLEASE PLEASE ILL GIVE BRAINLIEST
your grade in Class varies directly with how many hours you study. you study for 3 hours and get a 60. What grade would you get studying 4.5 hours
In human blood types rh positive is a trait that shows simple dominance over rh negative. A woman has blood type A positive has a daughter who is type O positiv
12.28 LAB: Output values in a list below a user defined amount - functions Write a program that first gets a list of integers from input. The input begins with
Which of these describes an endothermic reaction? -Energy is absorbed by the reaction. -Energy is released by the reaction. -Energy is created in the reaction.
15. The annual rental charge for office furniture that Budget Blinds uses is $862.50. Insurance and usage charges come to 1.5% of the total. What is Budget's mo
Most federal judges Serve for
If f(x)=6x-7 and g(x)-3x-8 what is f(g(6))
In centralized decision making, authority is