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

Which of these is coterminal with an angle in standard position that measures 140°? -40 degree -500 degree -220 degree -60 degree
What must x equal for line a to be parallel to line b?
can someone pls pls help me?
Refer to Inside Out and Back Again for a complete version of this text. In "Hate It," the author develops a frustrated tone. Which example of figurative languag
how to write the fraction 7/100 as a decimal
Rewrite in exponential form: logg X = 6​
A naturalized Citizen refers to a person utilizing information technology in order to engage in societal issues, politics and government true or false?​
Mrs. Townsend had 29 feet of fabric.
Do you agree with the United States' decision to intern Japanese Americans during World War II? Why or why not?
explain why it is not possible to charge an electroscope by Touch by touching the cup with a finger​