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

7kg of soybean oil which costs $4/kg was combined with 14kg of canola which costs $1/kg. Find the cost per kg of mixture.
what is the difference between a pentagonal prism and a pentagonal pyramid???????????
1.Which sentence contains an adjective clause?    A. Pizza, which many people love, can also be nutritious.  B.Thin-crust pizza with low-fat cheese has fewer ca
food couldn't reach the stomach without the esophagus and the what
Description of what is an ecosystem
Description of what is an ecosystem
Air Mass is a large body of air that has the same ____________ and ___________ throughout.
Which substance does not obey the Lewis octet rule? (a) N₂ (b) NO (c) CF₄ (d) Ar Can anyone explain this?
what causes the earths crust to move ?
Douglas wants to draw a circle graph showing the favorite colors of his friends. When he polled his friends asking each their favorite color, 25% of his friends