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 which one of these sentences does an adverb modify a verb? A. The dress was terribly old. B. Jacob was a very smart boy. C. Mr. Dodge moved in an extremely s
Steve lives in a country which claims to have been the first to adopt Christianity as a state religion. In which country does Steve live?
what is the transcontinental railrod
Which statements describing how Renaissance ideas spread beyond Italy are true?Choose all answers that are correct. A. Pilgrims on their way to the Holy Land of
Which best describes the way photographs are considered by historians? primary source documents that are useful in the study of history reliable sources for the
What organization was not created during the world war 2 years? A) WPB B) OPM C) OWI D) TVA
how does a author create a adaptation
Why Nazism became popular in Germany by 1930?
The United States Highway System is a _____________ in the United States numbered within a nationwide grid.
the stamp act is a example of a act that created taxtion without representation that violet the enlightenment idea that