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 the file below. (Sorry, question has pictures can't write it out.)
Which of the following is NOT specifically a form of health-related fitness? A. cardiovascular fitness B. muscular endurance C. balance D. body compositi
Why is Hecate angry at the other witches?
Which statement best describes the rise of modern medicine? Technology, collaboration, and innovation were responsible for the advances in modern medicine. Medi
Sloths have less muscle than other mammals their size in order to _______. a. conserve energy b. maintain a lower body weight c. digest their food faster d.
Exit High blood pressure can cause all of the following except A. kidney failure B. heart damage C. skeletal muscle damage D. heart attack
how can i evaluate (-7/10+0.15)÷(-0.125) please help
a 1,500-kg car is moving at a speed of 10 m/s. What is the car's kinetic energy?
The movement of water from ocean to the atmosphere to the land and back to the ocean is called a. water evaporation. c. water precipitation. b. water condensati
Help please and hurry it is due tomorrow