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

Supported passage of the 16th Amendment to the Constitution, allowing a federal income tax; broke up the Standard Oil Company and the American Tobacco Company.
what are the types of food service?
Find the measure of angle 6.
Why can Bennie's sell more hamburgers for $1 than Sally's can sell salads for the same price, and how does this affect the total revenue brought in by each rest
A college student designed and constructed an electric generator in his physics class to investigate cause and effect connections about magnetism and electricit
Find 13% of $1200 1. First tell me what you are you are going to do, IN WORDS​
Which expression gives the measure of ZXYZ? Z 110 W A. 110° + 42° OB. B. (110°-42°) C. 110°-42° D. (110° +42°)
What did the compromise of 1850 allow California to do select the two answers that are correct
I am a neuron; from what part of the brain did I develop?
What is your resting heart rate