At Westonci.ca, we connect you with experts who provide detailed answers to your most pressing questions. Start exploring now! Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

Write steps to Delete data from ‘Datagridview’

Sagot :

Explanation:

private void btnDelete_Click(object sender, EventArgs e)

{

if (this.dataGridView1.SelectedRows.Count > 0)

{

dataGridView1.Rows.RemoveAt(this.dataGridView1.SelectedRows[0].Index);

}

}

Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. Get the answers you need at Westonci.ca. Stay informed by returning for our latest expert advice.