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

4n^2 -15n+9 factor completely
Which of the following inventions helped farmers plant crops more quickly and efficiently? A. Water frame B. Flying shuttle C. Seed drill D. Spinning jenny
Which statement explains why neon is a Group 18 element? (1) Neon is a gas at STP.(2) Neon has a low melting point. (3) Neon atoms have a stable valence electr
how did put le lion rugit in past tense in french
What prompted Indians to relocate to London and the United Kingdom?
at a local fitness center, members pay a $12 membership fee and $5 for each aerobic class. Nonmembers pay $6 for each aerobic class. for what number of aerobics
What is vaporization?
Who received benefits from settlement houses in the late 1800s and early 1900s?
In "The Wind Began to Rock the Grass," why does Emily Dickinson compare the lightning to the "livid Claw" of a bird? A. This poem focuses on the natural world
How did the ancient leaders of Greece and Rome unite their empires?