Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Experience the convenience of getting accurate answers to your questions from a dedicated community of professionals. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A 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);

}

}

Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. Your questions are important to us at Westonci.ca. Visit again for expert answers and reliable information.