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

In the late 1800s, what attracted farm workers from rural areas to the cities?
Write the number that has the same value as 70 tens
Plans for a stadium are drawn on a coordinate grid. One wall lies on the line y=2x+3. A perpendicular wall passes through the point (4,-7). Write the equation o
Which textbook section lists the pages on which you can find information about a specific topic? a. appendix b. glossary c. bibliography d. index
How is scientific knowledge different from faith? A. Scientific knowledge is based on having proven conclusions, while faith is based on belief in something.
What number must you add to complete the square? x^2 + 2x = -1
Exit Which characteristics describe a Shakespearean sonnet? A. two quatrains, two couplets, abba rhyme scheme B. three quatrains, one couplet, abba rhyme
what rights enjoyed by modern americans can be traced back to the magna carta in 1215
At the arraignment, an attorney is to be provided for the defendant free of charge if necessary.true or false
What may be some underlying biases for news sources? money politics popularity all of the above none of the above