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

parasite that destroys wool in sheep​
PLSSSSS I NEED HELP I WILL GIVE BRAINLEST OR HOWEVER I SPELL IT PLSS ITS ON THE PICTURE‼️‼️
D(n) = \dfrac{5}{16} \left(2\right)^{n - 1}d(n)= 16 5 ​ (2) n−1 d, left parenthesis, n, right parenthesis, equals, start fraction, 5, divided by, 16, end fracti
Hungary and Romania have what type of climates? A.) dry and cold B.) warm and wet C.) warm and cool
Based on the information on the label, what is the maximum amount of sodium (i.e., salt) an average person should consume in one day? How did you arrive at your
(i) − ( + )_________________________________ (ii) − − ___________________________________ (iii) − − ____________________________________ (iv) − ____________
HELP ASAP 1. A term that includes a variable. is called? 2. A term that is a known number without variables. is called?
ABCD ~ QRST Find the missing side length, m. (view image)
All matter is involved in motion of some kind. True or false
The hunchback around their parents of the upper back is known as which postural deviation?