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 hardships did the colonists suffer due to British policies
In "The Jilting of Granny Weatherall", what is the story's theme?
fractions equivelant to 1/4, 1/2, 3/4
will up vote!! In Elizabeth Barrett Browning’s, Sonnet 43 “ How Do I Love Thee?” , about whom is Elizabeth speaking? Her father Her son a friend her husband
5.  Which of the following policies represents current American foreign policy? (1 point) isolationism nation building containment international cooperation
to find difference 7-3 5/12 how do you rename the 7
how much alcohol does it take to damage a teen's brain?
Isotopes are atoms of an element a. with the same number of electrons but different numbers of protons. b. that are radioactive. c. with a magnetic charge.
whats the variable -4(6+n)+3=36
5. What are the political and economic factors that complicate global warming