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

Help. Ill give u brainly if u tell me how to solve this
According to the conceptual model for quantitative research, a researcher begins with an overall purpose or objective because ___.
At which point does the line in the graph cross the y-axis A. (0,4) B.(4,0) C.(3,0) D.(0,3)
Triangle RST​ has these angle measures: m∠R=102° m∠S=18° m∠T=60° v order them least to greatest. ST RS TR
Which is NOT a non-renewable resource? A. Geothermal energy B. Oil C. Fossil fuels D. Gas
According to ______, the presence or absence of certain experiences is especially important during specific time frames called critical periods. Multiple choice
so far you have attanded 2 of the 8 classes of school day. What percent of yput classes have you attended?
Is the fraction 1/16 equivalent to a decimal that terminates or a decimal that does not​ terminate?
when the glucose pool is empty, does it matter which pool we pull from next? why?
complete the sentenceThe dependent variable is always ________ the independent variable (the answers are in the photo)​