Question: What does the following button code do to the ListView? private void btn_Click(object sender, EventArgs e) { int id = int.Parse(txtID.Text); int index = id
What does the following button code do to the ListView? private void btn_Click(object sender, EventArgs e) { int id = int.Parse(txtID.Text); int index = id - 1; if (MessageBox.Show("Do you want to delete ?", "Permanently delete?", MessageBoxButtons. YesNo, MessageBox Icon. Warning) == DialogResult. Yes) for(int i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
