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

Cholesterol is always bad. True False
Write a simplified expression for the perimeter of the rectangle
Irrigate is to desert as drain is to ………
Mrs. Rosanky's O Plural. proper Plural, common O Possessive, proper Singular, common
Ap Stats can someone please explain how I can solve and answer this.
Need help with these plz
I feel like I may have anxiety, because I get really, really nervous whenever I have to talk or speak up and I can't stay still, my breath is short, and I feel
Fill in the blank by choosing the most appropriate word. Regression equations are usually used to predict values of unavailable data. If the data do not closely
Balance the nuclear equation 43 19K −→ 43 20 Ca + ? 1. ? = 1 0n 2. ? = 1 1p 3. ? = 43 18Ar 4. ? = 0 −1 β 5. None of these 6. ? = 43 −1 e 7. ? = 0 1 e
Nên lựa chọn hình thức và lĩnh vực kinh doanh nào khi bắt đầu khởi sự kinh doanh, tại sao.?