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

Write f(x) = |x-6 as a piecewise function.
Q2: Four friends each flipped a coin different numbers of times. ​ Alice got heads 75% of the time. ​ Mary got heads 8 out of 10 times. ​ Sarah got heads 17 out
How does data analysis influence a business or organization's decision making ability? It can help determine the probabilities of events that influence the rate
What is the moral of the Epic of Gilgamesh What lesson did Gilgamesh learn?
You roll a six-sided die twice. What is the probability of rolling a 2 and then an odd number? A1/18 B 1/6 C1/3 D1/12
Why are French, Italian, Portuguese, Spanish, and Romanian sometimes referred to as “Romance languages”? A. They are languages that speak of heroism and love.
Dakota spent $6.40, $12.25, and $8.60 for lunch over a three-day period. How much did she spend on lunch for these three days?
Which fact in Jane Austen's life clearly influenced in "Pride and Prejudice? A. Living in England B. Living at her father's vicarage C. Her close relation
Which fact in Jane Austen's life clearly influenced in "Pride and Prejudice? A. Living in England B. Living at her father's vicarage C. Her close relation
What is national debt