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

Do I deserve life..? T-T
How to convert Docx files to pdf format?
Help please and thank you
how did early settlers cope with challenges as they established the first 13 colonies?
What's the recursive formula of the geometric sequence below? 2, 6, 18, 54, 162, 486,... O ay = 3; an = an-1 · (2)n-1 for n 2 2 a1 = 2; an = an-1 . (3) for n 2
The equation of C is (x - 2)^2 + (y - 1)^2 = 25. Of the points P(0,5), Q(2,2) R(5,-2), and S(6,6), which point is located outside the circle?
Water flows from a bathroom tap at a rate of 2 gallons every 6 seconds. At this rate, how many minutes will it take to fill an 80-gallon tub?
. Out of the following objects, which one has more inertia? A 200 page notebook A tennis ball A pen A football
Trainees in the photography department of Atafiger, a daily newspaper, who receive above average performance ratings are eligible to apply for the position of c
rewrite these sentences in indirect speech: a: 'I go out with friends every Friday'. b 'I love reading comic boos'. c 'I am Spider-man and I will help you. d I'