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

Suppose that the average number of cars abandoned weekly on a certain highway is 2.2. Approximate the probability that there will be: a. No abandoned cars in t
Which is the correct rearrangement of the following formula, making t the subject? w = vt-6 t = (w - 6)? t = (w + 6)? t = w2 - 6 t = w2 +6
Please answer this correctly
Why was Louis XVI facing a crisis in 1789?​
_______ was a leader who sparked interest in exploration by pushing for Portuguese voyagers to go around Southern Africa to find trade routes to India and China
What is the volume of this container?
Why is it important for credibility that immigration statistics on the US State Department’s website are updated regularly? ⚪
Susan needs to communicate a denial of warranty work to a customer. Based on her conservations with the customer, Susan feels that the information will evoke a
A sample of 50 11th graders were asked to select a favorite pattern out of 6 choices. The data list below shows what their favorite color patterns were, and the
Find the sum. Round your answer to match the less precise measurement. 7.4 L + 1.16 L Answer Choice A. 8.56 L B. 9 L C. 8.5 L D. 8.56 L