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

The housing at the side of a rotisserie contain what
When we say that the classical model of decision-making specifies how managers should make decisions, this is another way of saying that this model is:?
Phenotype describes the genetic makeup of an individual the actual genes in an individual the DNA in an individual the appearance of an individual
Why are junk bonds more popular during a bear market
Brainliest if answered in the next 5 minutes What may be expected when K < 1.0? Choose the THREE correct statements. The concentration of one or more of the
A turtle crawls at a constant speed, moving 4.77 m in 19.5 s. What was the turtle's velocity?
Verbal communication refers mainly to: A. vocal quality. B. pitch. C. use of words. D. tone.
How do energy levels change when atoms collide?
Foods that are low in sodium and rich in potassium include
How did the Pilgrims influence the notion of representative democracy? A. The signers of the Mayflower Compact appointed the officials to represent everyone. B.