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

Plz help with this question
Which function is the inverse of F(x) = b^x? A. F-1(y) = logby B. F-1(y) = logxb C. F-1(y) = logxy D. F-1(y) = logyb
Hitler intended to defeat Great Britain by A- a massive bombing attack B- an aggressive use of tanks C- an attack on the air force D- a mass invasion of troops
Multiply: −6×(5) please help me
Ahmpabja arrange the correct spelling
Find the two numbers whose sum is 24 and whose product is as large as possible. (Please show your work, No guess)!!!
How do I solve this step by step?
What Martin Luther King intends to say in this sentence: "War is a poor chisel to carve out tomorrow."
What is the area of the figure? Assume that all angles are right angles. 1200 square inches 980 square inches 1100 square inches 1000 square inches I say 980 (i
What is the topic sentence of the paragraph? A trip to the ocean can be a relaxing escape from the everyday pressures of life. A sailboat glistening on the hor