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

how do you write 4540 million in standard form?
how do you write 4540 million in standard form?
you have a standard deck of 52 cards. you pick one card and then, with out putting the first card back, you pick a second card. what is the probability that bot
How do you?...Multiply out and simplify 10(2x-1)-20x?
you have a standard deck of 52 cards. you pick one card and then, with out putting the first card back, you pick a second card. what is the probability that bot
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
what is a high structure part of a church which has 5 letters
How do you?...Multiply out and simplify 10(2x-1)-20x?
What are the functions of receptors in our body? Think of a situation where receptors do not work properly. What problems are likely to arise?
how were north american colonies all similar in the 1700s?