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 2018. Ford Motor Company announced it would severely cut back in car production to focus on trucks and sport utility vehicles. For companies who supplied For
The dry drainage area that separates mountain ranges is called?
Questions 1. What is the source (reason) for Luther's anti-Semitism?
How much are balienciaga cost
What was the responsibility of the United States Christian Commission during the Civil War? A. They set up revivals at the solber's caps B. They encouraged sold
Who governed the royal colony of Georgia? the elected governor the legislature the king the British military Please hurry if you can i would appreciate it.
Solve the inequality 2(4+2x) *more then or equal sign* 5x+5
Solve for x: 2/7 (x - 2) = 4x (9th grade algebra 1)
NEED HELP PLEASE ANSWER ASAP
What prevents the gravity of the sun to pull all of the planets towards it?(1 point) the large distance of the planets from the sun the sun's weak gravity the p