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

3n-5=8(6+5n) addition property of equality
Help me please I beg you I need help getting my grades back up please help me
plz help its due in a couple of hours
Storms are caused by which of the following
A ball rolls at a speed of 6cm/s. How far does the ball roll in 40 seconds ? ____cm
How much is a centidollar?
How do oceans play a part influencing our Earth systems?
Round 34,971.22 to the hundreds place.
Most forest fires and wildfires are natural. They clear away debris, old brush, and dying trees, leaving heartier trees better able to grow. Certain trees, in f
a rectangle with sides of length n+2 and n is compared to a square with sides of length n+1, are the two shape equal in perimeter?