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 postulate of relativity was supported by the experiments of Michelson and Morley? a. principle of relativity b. constancy of the speed of light c. princip
In their theories about government, Locke and Hobbes agreed that __________. a. citizens are not required to give up any individual rights c. citizens and their
Which of these events came first? Julius Caesar’s assassination Rome becoming a republic Caesar Augustus taking power Rome becoming an empire
Suppose that *n = {n - 2, n + 2, 2n, n/2}. For example, *6 = {3,4,8,12}. For how many distinct integers n does *n have exactly three distinct elements?
4. What are some of the things scientists might do to analyze data?
Amphibians can breathe through their skin. True False
[tex]log_{8 x^{2} -23x+15}(2x-2) \leq 0[/tex]
A criticism of the American system of federalism is that it is
Which primary source document would give you insight into how the Great Chicago Fire affected working-class families?
People flocked to California to fulfill the _________.