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

With which theater is Shakespeare's career as a playwright and actor closely associated? A. the theater of the King's Men B. the theater at Stratford-upon-Avon
Acid precipitation is caused by a mix of what?
After the War of 1812, the first expansionist goal of the republic was the acquisition of
Solve by factoring: 25X^2+5X-12=0
Which sentence uses quotation marks correctly? A. Have you seen the wonderful Japanese animated movie called "My Neighbor Totoro"? B. My father enjoys reciting
What was the relationship between the Reformation and the printing press? A. The new availability of printed books made the Reformation spread quickly. B. Marti
How many oxygen atoms are found in one molecule of nitric acid, HNO3?
What is the holy book of your faith and how does it compare to others? jesus, muhammmad, moses
Which sentence uses quotation marks correctly? A. Have you seen the wonderful Japanese animated movie called "My Neighbor Totoro"? B. My father enjoys reciting
When it comes to cholesterol, it is better to have __________.